terraform.tfstate 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. {
  2. "version": 4,
  3. "terraform_version": "1.3.7",
  4. "serial": 13,
  5. "lineage": "7413839f-c67c-02f5-4933-fcb84251bb29",
  6. "outputs": {},
  7. "resources": [
  8. {
  9. "mode": "managed",
  10. "type": "aws_codebuild_project",
  11. "name": "growi-official-image-builder",
  12. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  13. "instances": [
  14. {
  15. "schema_version": 0,
  16. "attributes": {
  17. "arn": "arn:aws:codebuild:ap-northeast-1:259692501178:project/growi-official-image-builder",
  18. "artifacts": [
  19. {
  20. "artifact_identifier": "",
  21. "bucket_owner_access": "",
  22. "encryption_disabled": false,
  23. "location": "",
  24. "name": "",
  25. "namespace_type": "",
  26. "override_artifact_name": false,
  27. "packaging": "",
  28. "path": "",
  29. "type": "NO_ARTIFACTS"
  30. }
  31. ],
  32. "badge_enabled": false,
  33. "badge_url": "",
  34. "build_batch_config": [
  35. {
  36. "combine_artifacts": false,
  37. "restrictions": [
  38. {
  39. "compute_types_allowed": [],
  40. "maximum_builds_allowed": 100
  41. }
  42. ],
  43. "service_role": "arn:aws:iam::259692501178:role/growi-official-image-builder",
  44. "timeout_in_mins": 2160
  45. }
  46. ],
  47. "build_timeout": 60,
  48. "cache": [
  49. {
  50. "location": "",
  51. "modes": [],
  52. "type": "NO_CACHE"
  53. }
  54. ],
  55. "concurrent_build_limit": 0,
  56. "description": "The CodeBuild Project for GROWI official docker image",
  57. "encryption_key": "arn:aws:kms:ap-northeast-1:259692501178:alias/aws/s3",
  58. "environment": [
  59. {
  60. "certificate": "",
  61. "compute_type": "BUILD_GENERAL1_LARGE",
  62. "environment_variable": [],
  63. "image": "aws/codebuild/standard:6.0",
  64. "image_pull_credentials_type": "CODEBUILD",
  65. "privileged_mode": true,
  66. "registry_credential": [],
  67. "type": "LINUX_CONTAINER"
  68. }
  69. ],
  70. "file_system_locations": [],
  71. "id": "arn:aws:codebuild:ap-northeast-1:259692501178:project/growi-official-image-builder",
  72. "logs_config": [
  73. {
  74. "cloudwatch_logs": [
  75. {
  76. "group_name": "",
  77. "status": "ENABLED",
  78. "stream_name": ""
  79. }
  80. ],
  81. "s3_logs": [
  82. {
  83. "bucket_owner_access": "",
  84. "encryption_disabled": false,
  85. "location": "",
  86. "status": "DISABLED"
  87. }
  88. ]
  89. }
  90. ],
  91. "name": "growi-official-image-builder",
  92. "project_visibility": "PRIVATE",
  93. "public_project_alias": "",
  94. "queued_timeout": 480,
  95. "resource_access_role": "",
  96. "secondary_artifacts": [],
  97. "secondary_source_version": [],
  98. "secondary_sources": [],
  99. "service_role": "arn:aws:iam::259692501178:role/growi-official-image-builder",
  100. "source": [
  101. {
  102. "auth": [],
  103. "build_status_config": [],
  104. "buildspec": "packages/app/docker/codebuild/buildspec.yml",
  105. "git_clone_depth": 1,
  106. "git_submodules_config": [],
  107. "insecure_ssl": false,
  108. "location": "https://github.com/weseek/growi.git",
  109. "report_build_status": false,
  110. "type": "GITHUB"
  111. }
  112. ],
  113. "source_version": "refs/heads/support/build-with-codebuild",
  114. "tags": {},
  115. "tags_all": {},
  116. "vpc_config": []
  117. },
  118. "sensitive_attributes": [],
  119. "private": "bnVsbA==",
  120. "dependencies": [
  121. "aws_iam_role.growi-official-image-builder"
  122. ]
  123. }
  124. ]
  125. },
  126. {
  127. "mode": "managed",
  128. "type": "aws_iam_role",
  129. "name": "growi-official-image-builder",
  130. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  131. "instances": [
  132. {
  133. "schema_version": 0,
  134. "attributes": {
  135. "arn": "arn:aws:iam::259692501178:role/growi-official-image-builder",
  136. "assume_role_policy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"codebuild.amazonaws.com\"}}],\"Version\":\"2012-10-17\"}",
  137. "create_date": "2023-01-12T14:31:25Z",
  138. "description": "",
  139. "force_detach_policies": false,
  140. "id": "growi-official-image-builder",
  141. "inline_policy": [
  142. {
  143. "name": "terraform-20230112185553389000000001",
  144. "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Resource\": [\n \"*\"\n ],\n \"Action\": [\n \"logs:CreateLogGroup\",\n \"logs:CreateLogStream\",\n \"logs:PutLogEvents\"\n ]\n },\n {\n \"Effect\": \"Allow\",\n \"Action\": [\n \"s3:*\"\n ],\n \"Resource\": [\n \"arn:aws:s3:::growi-official-image-builder-cache\",\n \"arn:aws:s3:::growi-official-image-builder-cache/*\"\n ]\n },\n {\n \"Effect\": \"Allow\",\n \"Action\": [\n \"codebuild:StartBuild\",\n \"codebuild:StopBuild\",\n \"codebuild:RetryBuild\",\n \"codebuild:CreateReportGroup\",\n \"codebuild:CreateReport\",\n \"codebuild:UpdateReport\",\n \"codebuild:BatchPutTestCases\",\n \"codebuild:BatchPutCodeCoverages\"\n ],\n \"Resource\": [\n \"*\"\n ]\n }\n ]\n}\n"
  145. }
  146. ],
  147. "managed_policy_arns": [],
  148. "max_session_duration": 3600,
  149. "name": "growi-official-image-builder",
  150. "name_prefix": "",
  151. "path": "/",
  152. "permissions_boundary": null,
  153. "tags": {},
  154. "tags_all": {},
  155. "unique_id": "AROATY5XBDC5HD2CFLB75"
  156. },
  157. "sensitive_attributes": [],
  158. "private": "bnVsbA=="
  159. }
  160. ]
  161. },
  162. {
  163. "mode": "managed",
  164. "type": "aws_iam_role_policy",
  165. "name": "growi-official-image-builder",
  166. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  167. "instances": [
  168. {
  169. "schema_version": 0,
  170. "attributes": {
  171. "id": "growi-official-image-builder:terraform-20230112185553389000000001",
  172. "name": "terraform-20230112185553389000000001",
  173. "name_prefix": null,
  174. "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Resource\": [\n \"*\"\n ],\n \"Action\": [\n \"logs:CreateLogGroup\",\n \"logs:CreateLogStream\",\n \"logs:PutLogEvents\"\n ]\n },\n {\n \"Effect\": \"Allow\",\n \"Action\": [\n \"s3:*\"\n ],\n \"Resource\": [\n \"arn:aws:s3:::growi-official-image-builder-cache\",\n \"arn:aws:s3:::growi-official-image-builder-cache/*\"\n ]\n },\n {\n \"Effect\": \"Allow\",\n \"Action\": [\n \"codebuild:StartBuild\",\n \"codebuild:StopBuild\",\n \"codebuild:RetryBuild\",\n \"codebuild:CreateReportGroup\",\n \"codebuild:CreateReport\",\n \"codebuild:UpdateReport\",\n \"codebuild:BatchPutTestCases\",\n \"codebuild:BatchPutCodeCoverages\"\n ],\n \"Resource\": [\n \"*\"\n ]\n }\n ]\n}\n",
  175. "role": "growi-official-image-builder"
  176. },
  177. "sensitive_attributes": [],
  178. "private": "bnVsbA==",
  179. "dependencies": [
  180. "aws_iam_role.growi-official-image-builder",
  181. "aws_s3_bucket.growi-official-image-builder-cache"
  182. ]
  183. }
  184. ]
  185. },
  186. {
  187. "mode": "managed",
  188. "type": "aws_s3_bucket",
  189. "name": "growi-official-image-builder-cache",
  190. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  191. "instances": [
  192. {
  193. "schema_version": 0,
  194. "attributes": {
  195. "acceleration_status": "",
  196. "acl": null,
  197. "arn": "arn:aws:s3:::growi-official-image-builder-cache",
  198. "bucket": "growi-official-image-builder-cache",
  199. "bucket_domain_name": "growi-official-image-builder-cache.s3.amazonaws.com",
  200. "bucket_prefix": null,
  201. "bucket_regional_domain_name": "growi-official-image-builder-cache.s3.ap-northeast-1.amazonaws.com",
  202. "cors_rule": [],
  203. "force_destroy": false,
  204. "grant": [
  205. {
  206. "id": "16ace6e62ff20a38d91b231ba787c479a9d92a5863a4b9434d692324b9f2d255",
  207. "permissions": [
  208. "FULL_CONTROL"
  209. ],
  210. "type": "CanonicalUser",
  211. "uri": ""
  212. }
  213. ],
  214. "hosted_zone_id": "Z2M4EHUR26P7ZW",
  215. "id": "growi-official-image-builder-cache",
  216. "lifecycle_rule": [],
  217. "logging": [],
  218. "object_lock_configuration": [],
  219. "object_lock_enabled": false,
  220. "policy": "",
  221. "region": "ap-northeast-1",
  222. "replication_configuration": [],
  223. "request_payer": "BucketOwner",
  224. "server_side_encryption_configuration": [],
  225. "tags": {},
  226. "tags_all": {},
  227. "timeouts": null,
  228. "versioning": [
  229. {
  230. "enabled": false,
  231. "mfa_delete": false
  232. }
  233. ],
  234. "website": [],
  235. "website_domain": null,
  236. "website_endpoint": null
  237. },
  238. "sensitive_attributes": [],
  239. "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19"
  240. }
  241. ]
  242. },
  243. {
  244. "mode": "managed",
  245. "type": "aws_s3_bucket_acl",
  246. "name": "growi-official-image-builder-cache",
  247. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  248. "instances": [
  249. {
  250. "schema_version": 0,
  251. "attributes": {
  252. "access_control_policy": [
  253. {
  254. "grant": [
  255. {
  256. "grantee": [
  257. {
  258. "display_name": "yukiws",
  259. "email_address": "",
  260. "id": "16ace6e62ff20a38d91b231ba787c479a9d92a5863a4b9434d692324b9f2d255",
  261. "type": "CanonicalUser",
  262. "uri": ""
  263. }
  264. ],
  265. "permission": "FULL_CONTROL"
  266. }
  267. ],
  268. "owner": [
  269. {
  270. "display_name": "yukiws",
  271. "id": "16ace6e62ff20a38d91b231ba787c479a9d92a5863a4b9434d692324b9f2d255"
  272. }
  273. ]
  274. }
  275. ],
  276. "acl": "private",
  277. "bucket": "growi-official-image-builder-cache",
  278. "expected_bucket_owner": "",
  279. "id": "growi-official-image-builder-cache,private"
  280. },
  281. "sensitive_attributes": [],
  282. "private": "bnVsbA==",
  283. "dependencies": [
  284. "aws_s3_bucket.growi-official-image-builder-cache"
  285. ]
  286. }
  287. ]
  288. }
  289. ],
  290. "check_results": null
  291. }