terraform.tfstate 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. {
  2. "version": 4,
  3. "terraform_version": "1.3.7",
  4. "serial": 57,
  5. "lineage": "7413839f-c67c-02f5-4933-fcb84251bb29",
  6. "outputs": {},
  7. "resources": [
  8. {
  9. "mode": "managed",
  10. "type": "aws_codebuild_project",
  11. "name": "codebuild",
  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.iam_role"
  122. ]
  123. }
  124. ]
  125. },
  126. {
  127. "mode": "managed",
  128. "type": "aws_iam_role",
  129. "name": "iam_role",
  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-12T20:35:25Z",
  138. "description": "",
  139. "force_detach_policies": false,
  140. "id": "growi-official-image-builder",
  141. "inline_policy": [
  142. {
  143. "name": "terraform-20230112203526188400000001",
  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": "AROATY5XBDC5BIKKM3GAO"
  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-20230112203526188400000001",
  172. "name": "terraform-20230112203526188400000001",
  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 \"secretsmanager:GetResourcePolicy\",\n \"secretsmanager:GetSecretValue\",\n \"secretsmanager:DescribeSecret\",\n \"secretsmanager:ListSecretVersionIds\"\n ],\n \"Resource\": [\n \"arn:aws:secretsmanager:ap-northeast-1:259692501178:secret:growi/official-image-builder-9sraQN\"\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.iam_role",
  181. "aws_s3_bucket.s3_bucket",
  182. "aws_secretsmanager_secret.secret"
  183. ]
  184. }
  185. ]
  186. },
  187. {
  188. "mode": "managed",
  189. "type": "aws_s3_bucket",
  190. "name": "s3_bucket",
  191. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  192. "instances": [
  193. {
  194. "schema_version": 0,
  195. "attributes": {
  196. "acceleration_status": "",
  197. "acl": null,
  198. "arn": "arn:aws:s3:::growi-official-image-builder-cache",
  199. "bucket": "growi-official-image-builder-cache",
  200. "bucket_domain_name": "growi-official-image-builder-cache.s3.amazonaws.com",
  201. "bucket_prefix": null,
  202. "bucket_regional_domain_name": "growi-official-image-builder-cache.s3.ap-northeast-1.amazonaws.com",
  203. "cors_rule": [],
  204. "force_destroy": false,
  205. "grant": [
  206. {
  207. "id": "16ace6e62ff20a38d91b231ba787c479a9d92a5863a4b9434d692324b9f2d255",
  208. "permissions": [
  209. "FULL_CONTROL"
  210. ],
  211. "type": "CanonicalUser",
  212. "uri": ""
  213. }
  214. ],
  215. "hosted_zone_id": "Z2M4EHUR26P7ZW",
  216. "id": "growi-official-image-builder-cache",
  217. "lifecycle_rule": [],
  218. "logging": [],
  219. "object_lock_configuration": [],
  220. "object_lock_enabled": false,
  221. "policy": "",
  222. "region": "ap-northeast-1",
  223. "replication_configuration": [],
  224. "request_payer": "BucketOwner",
  225. "server_side_encryption_configuration": [],
  226. "tags": {},
  227. "tags_all": {},
  228. "timeouts": null,
  229. "versioning": [
  230. {
  231. "enabled": false,
  232. "mfa_delete": false
  233. }
  234. ],
  235. "website": [],
  236. "website_domain": null,
  237. "website_endpoint": null
  238. },
  239. "sensitive_attributes": [],
  240. "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19"
  241. }
  242. ]
  243. },
  244. {
  245. "mode": "managed",
  246. "type": "aws_s3_bucket_acl",
  247. "name": "s3_bucket_acl",
  248. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  249. "instances": [
  250. {
  251. "schema_version": 0,
  252. "attributes": {
  253. "access_control_policy": [
  254. {
  255. "grant": [
  256. {
  257. "grantee": [
  258. {
  259. "display_name": "yukiws",
  260. "email_address": "",
  261. "id": "16ace6e62ff20a38d91b231ba787c479a9d92a5863a4b9434d692324b9f2d255",
  262. "type": "CanonicalUser",
  263. "uri": ""
  264. }
  265. ],
  266. "permission": "FULL_CONTROL"
  267. }
  268. ],
  269. "owner": [
  270. {
  271. "display_name": "yukiws",
  272. "id": "16ace6e62ff20a38d91b231ba787c479a9d92a5863a4b9434d692324b9f2d255"
  273. }
  274. ]
  275. }
  276. ],
  277. "acl": "private",
  278. "bucket": "growi-official-image-builder-cache",
  279. "expected_bucket_owner": "",
  280. "id": "growi-official-image-builder-cache,private"
  281. },
  282. "sensitive_attributes": [],
  283. "private": "bnVsbA==",
  284. "dependencies": [
  285. "aws_s3_bucket.s3_bucket"
  286. ]
  287. }
  288. ]
  289. },
  290. {
  291. "mode": "managed",
  292. "type": "aws_secretsmanager_secret",
  293. "name": "secret",
  294. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  295. "instances": [
  296. {
  297. "schema_version": 0,
  298. "attributes": {
  299. "arn": "arn:aws:secretsmanager:ap-northeast-1:259692501178:secret:growi/official-image-builder-9sraQN",
  300. "description": "",
  301. "force_overwrite_replica_secret": false,
  302. "id": "arn:aws:secretsmanager:ap-northeast-1:259692501178:secret:growi/official-image-builder-9sraQN",
  303. "kms_key_id": "",
  304. "name": "growi/official-image-builder",
  305. "name_prefix": "",
  306. "policy": "",
  307. "recovery_window_in_days": 30,
  308. "replica": [],
  309. "rotation_enabled": false,
  310. "rotation_lambda_arn": "",
  311. "rotation_rules": [],
  312. "tags": {},
  313. "tags_all": {}
  314. },
  315. "sensitive_attributes": [],
  316. "private": "bnVsbA=="
  317. }
  318. ]
  319. },
  320. {
  321. "mode": "managed",
  322. "type": "aws_secretsmanager_secret_version",
  323. "name": "main",
  324. "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
  325. "instances": [
  326. {
  327. "schema_version": 0,
  328. "attributes": {
  329. "arn": "arn:aws:secretsmanager:ap-northeast-1:259692501178:secret:growi/official-image-builder-9sraQN",
  330. "id": "arn:aws:secretsmanager:ap-northeast-1:259692501178:secret:growi/official-image-builder-9sraQN|032079BF-5A86-42F2-BBA0-CCDCA4F53CBC",
  331. "secret_binary": "",
  332. "secret_id": "arn:aws:secretsmanager:ap-northeast-1:259692501178:secret:growi/official-image-builder-9sraQN",
  333. "secret_string": "CHANGE THIS",
  334. "version_id": "032079BF-5A86-42F2-BBA0-CCDCA4F53CBC",
  335. "version_stages": [
  336. "AWSPREVIOUS"
  337. ]
  338. },
  339. "sensitive_attributes": [],
  340. "private": "bnVsbA==",
  341. "dependencies": [
  342. "aws_secretsmanager_secret.secret"
  343. ]
  344. }
  345. ]
  346. }
  347. ],
  348. "check_results": null
  349. }