terraform.tfstate 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. {
  2. "version": 4,
  3. "terraform_version": "1.3.7",
  4. "serial": 11,
  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": "",
  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. "managed_policy_arns": [],
  143. "max_session_duration": 3600,
  144. "name": "growi-official-image-builder",
  145. "name_prefix": "",
  146. "path": "/",
  147. "permissions_boundary": null,
  148. "tags": {},
  149. "tags_all": {},
  150. "unique_id": "AROATY5XBDC5HD2CFLB75"
  151. },
  152. "sensitive_attributes": [],
  153. "private": "bnVsbA=="
  154. }
  155. ]
  156. },
  157. {
  158. "mode": "managed",
  159. "type": "aws_iam_role_policy",
  160. "name": "growi-official-image-builder",
  161. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  162. "instances": [
  163. {
  164. "schema_version": 0,
  165. "attributes": {
  166. "id": "growi-official-image-builder:terraform-20230112185553389000000001",
  167. "name": "terraform-20230112185553389000000001",
  168. "name_prefix": null,
  169. "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",
  170. "role": "growi-official-image-builder"
  171. },
  172. "sensitive_attributes": [],
  173. "private": "bnVsbA==",
  174. "dependencies": [
  175. "aws_iam_role.growi-official-image-builder",
  176. "aws_s3_bucket.growi-official-image-builder-cache"
  177. ]
  178. }
  179. ]
  180. },
  181. {
  182. "mode": "managed",
  183. "type": "aws_s3_bucket",
  184. "name": "growi-official-image-builder-cache",
  185. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  186. "instances": [
  187. {
  188. "schema_version": 0,
  189. "attributes": {
  190. "acceleration_status": "",
  191. "acl": null,
  192. "arn": "arn:aws:s3:::growi-official-image-builder-cache",
  193. "bucket": "growi-official-image-builder-cache",
  194. "bucket_domain_name": "growi-official-image-builder-cache.s3.amazonaws.com",
  195. "bucket_prefix": null,
  196. "bucket_regional_domain_name": "growi-official-image-builder-cache.s3.ap-northeast-1.amazonaws.com",
  197. "cors_rule": [],
  198. "force_destroy": false,
  199. "grant": [
  200. {
  201. "id": "16ace6e62ff20a38d91b231ba787c479a9d92a5863a4b9434d692324b9f2d255",
  202. "permissions": [
  203. "FULL_CONTROL"
  204. ],
  205. "type": "CanonicalUser",
  206. "uri": ""
  207. }
  208. ],
  209. "hosted_zone_id": "Z2M4EHUR26P7ZW",
  210. "id": "growi-official-image-builder-cache",
  211. "lifecycle_rule": [],
  212. "logging": [],
  213. "object_lock_configuration": [],
  214. "object_lock_enabled": false,
  215. "policy": "",
  216. "region": "ap-northeast-1",
  217. "replication_configuration": [],
  218. "request_payer": "BucketOwner",
  219. "server_side_encryption_configuration": [],
  220. "tags": null,
  221. "tags_all": {},
  222. "timeouts": null,
  223. "versioning": [
  224. {
  225. "enabled": false,
  226. "mfa_delete": false
  227. }
  228. ],
  229. "website": [],
  230. "website_domain": null,
  231. "website_endpoint": null
  232. },
  233. "sensitive_attributes": [],
  234. "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19"
  235. }
  236. ]
  237. },
  238. {
  239. "mode": "managed",
  240. "type": "aws_s3_bucket_acl",
  241. "name": "growi-official-image-builder-cache",
  242. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  243. "instances": [
  244. {
  245. "schema_version": 0,
  246. "attributes": {
  247. "access_control_policy": [
  248. {
  249. "grant": [
  250. {
  251. "grantee": [
  252. {
  253. "display_name": "yukiws",
  254. "email_address": "",
  255. "id": "16ace6e62ff20a38d91b231ba787c479a9d92a5863a4b9434d692324b9f2d255",
  256. "type": "CanonicalUser",
  257. "uri": ""
  258. }
  259. ],
  260. "permission": "FULL_CONTROL"
  261. }
  262. ],
  263. "owner": [
  264. {
  265. "display_name": "yukiws",
  266. "id": "16ace6e62ff20a38d91b231ba787c479a9d92a5863a4b9434d692324b9f2d255"
  267. }
  268. ]
  269. }
  270. ],
  271. "acl": "private",
  272. "bucket": "growi-official-image-builder-cache",
  273. "expected_bucket_owner": "",
  274. "id": "growi-official-image-builder-cache,private"
  275. },
  276. "sensitive_attributes": [],
  277. "private": "bnVsbA==",
  278. "dependencies": [
  279. "aws_s3_bucket.growi-official-image-builder-cache"
  280. ]
  281. }
  282. ]
  283. }
  284. ],
  285. "check_results": null
  286. }