-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
bugSomething isn't workingSomething isn't working
Description
TL;DR
Despite having a different 'title' attribute in my terraform code, an ingress rule on VPC service control perimeter is getting the title "Ingress Policy 0"
This is for terraform code written like this example:
https://github.com/terraform-google-modules/terraform-google-vpc-service-controls/blob/main/examples/scoped_example_with_ingress_rule/main.tf#L61
Expected behavior
The VPC Service Control perimeter's ingress rule should have the title attribute that was defined in code (which was a more useful readable title).
Observed behavior
The VPC Service Control perimeter ingress rule is getting assigned a title of "Ingress Policy 0", and I observed in Terraform state the corresponding value of: "title": "Ingress Policy 0"
Terraform Configuration
module "regular_service_perimeter_1" {
source = "terraform-google-modules/vpc-service-controls/google//modules/regular_service_perimeter"
policy = var.org_policy_name
perimeter_name = "regular_perimeter_1"
description = "Perimeter shielding projects"
resources_dry_run = ["<gcp project id number>"]
restricted_services_dry_run = ["bigquery.googleapis.com", "storage.googleapis.com"]
ingress_policies = [
{
title = "Allow Access from everywhere"
from = {
sources = {
access_levels = ["*"] # Allow Access from everywhere
},
identities = ["user:*********@gmail.com"]
}
to = {
resources = [
"*"
]
operations = {
"storage.googleapis.com" = {
methods = [
"google.storage.objects.get",
"google.storage.objects.list"
]
}
}
}
}
]
}
Terraform Version
�Terraform v1.10.5
Terraform Provider Versions
(i'm going to have to provide this later today; currently working in Terraform cloud)
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working