replace module refs in 02-sec
This commit is contained in:
parent
bc50e9368a
commit
c7a884f658
|
@ -8,4 +8,9 @@ TODO before merging
|
|||
- [ ] proper docstring on new tools
|
||||
- [x] modify github actions for different fast tfdoc usage
|
||||
- [ ] add roadmap to top-level fast README
|
||||
- [ ] update modules references to local paths (ludo:0+2sec, julio:1, simo:2net+3)
|
||||
- [ ] update modules references to local paths
|
||||
- [x] stage 00 (ludo)
|
||||
- [ ] stage 01 (julio)
|
||||
- [ ] stage 02-net (simo)
|
||||
- [x] stage 02-sec (ludo)
|
||||
- [ ] stage 03-pf (simo)
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
module "dev-sec-project" {
|
||||
source = "github.com/terraform-google-modules/cloud-foundation-fabric//modules/project?ref=v12.0.0"
|
||||
source = "../../../modules/project"
|
||||
name = "dev-sec-core-0"
|
||||
parent = var.folder_id
|
||||
prefix = var.prefix
|
||||
|
@ -29,7 +29,7 @@ module "dev-sec-project" {
|
|||
|
||||
module "dev-sec-kms" {
|
||||
for_each = toset(local.kms_locations)
|
||||
source = "github.com/terraform-google-modules/cloud-foundation-fabric//modules/kms?ref=v12.0.0"
|
||||
source = "../../../modules/kms"
|
||||
project_id = module.dev-sec-project.project_id
|
||||
keyring = {
|
||||
location = each.key
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
module "prod-sec-project" {
|
||||
source = "github.com/terraform-google-modules/cloud-foundation-fabric//modules/project?ref=v12.0.0"
|
||||
source = "../../../modules/project"
|
||||
name = "prod-sec-core-0"
|
||||
parent = var.folder_id
|
||||
prefix = var.prefix
|
||||
|
@ -29,7 +29,7 @@ module "prod-sec-project" {
|
|||
|
||||
module "prod-sec-kms" {
|
||||
for_each = toset(local.kms_locations)
|
||||
source = "github.com/terraform-google-modules/cloud-foundation-fabric//modules/kms?ref=v12.0.0"
|
||||
source = "../../../modules/kms"
|
||||
project_id = module.prod-sec-project.project_id
|
||||
keyring = {
|
||||
location = each.key
|
||||
|
|
|
@ -44,7 +44,7 @@ locals {
|
|||
}
|
||||
|
||||
module "vpc-sc" {
|
||||
source = "github.com/terraform-google-modules/cloud-foundation-fabric//modules/vpc-sc?ref=ea17e65"
|
||||
source = "../../../modules/vpc-sc"
|
||||
# only enable if we have projects defined for perimeters
|
||||
count = anytrue([for k, v in local.vpc_sc_counts : v > 0]) ? 1 : 0
|
||||
access_policy = null
|
||||
|
|
Loading…
Reference in New Issue