mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 08:03:13 +00:00
Port the reviewed dev root and environment-owned/inventory modules from
111eb556 with the 13 pinned dev identifiers. adoption_complete is pinned
to false in code; the root has no variables so a workspace variable
cannot change what applies. The tf-poc root, staging root, and tf-poc
map entries are dropped; staging constants stay only for the checker's
cross-environment negative tests.
64 lines
1.4 KiB
HCL
64 lines
1.4 KiB
HCL
import {
|
|
to = module.environment_owned.aws_s3_bucket.site
|
|
id = local.bucket_name
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_s3_bucket_public_access_block.site
|
|
id = local.bucket_name
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_s3_bucket_ownership_controls.site
|
|
id = local.bucket_name
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_s3_bucket_server_side_encryption_configuration.site
|
|
id = local.bucket_name
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_s3_bucket_versioning.site
|
|
id = local.bucket_name
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_s3_bucket_policy.site
|
|
id = local.bucket_name
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_cloudfront_distribution.site
|
|
id = local.distribution_id
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_cloudfront_origin_access_control.site
|
|
id = local.oac_id
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_cloudfront_function.spa_rewrite
|
|
id = local.function_name
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_route53_record.site_a
|
|
id = "${local.hosted_zone_id}_${local.domain_name}_A"
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_route53_record.site_aaaa
|
|
id = "${local.hosted_zone_id}_${local.domain_name}_AAAA"
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_iam_role.github_deploy
|
|
id = local.deploy_role_name
|
|
}
|
|
|
|
import {
|
|
to = module.environment_owned.aws_iam_role_policy.github_deploy
|
|
id = "${local.deploy_role_name}:${local.inline_policy}"
|
|
}
|