Repository navigation
Labels
BugSomething isn't workingFramework - FedRAMP HighFedRAMP High compliance regime and controlsLevel of Effort - LowQuick, well-defined tasks with no unknowns; takes a few hours up to one day to completePriority - HighCritical issues blocking development or users; urgent bugs or core features for releaseScope - BlueprintRelated to solution blueprints in the blueprints directoryScope - ModuleRelated to reusable Terraform modules in the modules directorySecuritySomething is insecure or can be secured
Description
Bug Description
The blueprints/fedramp-high/gitlab/main.tf file passes attributes that the modules/gke-cluster-standard module never declared, so Terraform silently discards them:
vpc_config.master_authorized_ranges, which should restrict the control plane to10.203.0.0/16;default_nodepool.remove_default_node_pool, next to the declaredremove_pool;- the node pool settings that the blueprint places in
node_config, such asmachine_typeandconfidential_nodes.
Environment and Deployment Context
- Stellar Engine Version/Commit:
mainat commit2b112119e - Deployment Type:
- US Region Restricted (e.g., Access Policy constraint)
- FedRAMP Moderate
- FedRAMP High
- DoD IL4
- DoD IL5
- Stand-alone / Custom
- FAST Stage (if applicable):
- Stage 0 (Bootstrap)
- Stage 1 (Resource Management)
- Stage 2 (Network Creation)
- Stage 3 (Security and Audit)
- Affected Component:
blueprints/fedramp-high/gitlab,modules/gke-cluster-standard - Terraform Version: any; static analysis of the configuration
- GCP Provider Version: any
Steps to Reproduce
- Read
blueprints/fedramp-high/gitlab/main.tf, lines 220 to 250. - Compare each attribute with the
vpc_config,default_nodepoolandnode_configtypes inmodules/gke-cluster-standard/variables.tf. - Run
terraform planand inspectmaster_authorized_networks_configand the node configuration of the cluster.
Expected Behavior
The control plane admits only the configured internal range, and the nodes use the configured machine type and confidential nodes.
Actual Behavior
The plan has no authorized network for 10.203.0.0/16 and uses the module defaults for the node settings.
Relevant Logs and Errors
No error appears, because Terraform discards object attributes that a variable type does not declare.
Additional Context
- On the current module, the authorized ranges belong under
access_config.ip_access.authorized_ranges. After the upstream sync in feat(modules)!: sync Cloud Foundation Fabric modules to v60.0.0 and add sync tooling #311, the same attribute applies. - Confidential nodes and the machine type belong to a node pool, for example through
modules/gke-nodepool. - Found while migrating module callers in feat(modules)!: sync Cloud Foundation Fabric modules to v60.0.0 and add sync tooling #311.
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingFramework - FedRAMP HighFedRAMP High compliance regime and controlsLevel of Effort - LowQuick, well-defined tasks with no unknowns; takes a few hours up to one day to completePriority - HighCritical issues blocking development or users; urgent bugs or core features for releaseScope - BlueprintRelated to solution blueprints in the blueprints directoryScope - ModuleRelated to reusable Terraform modules in the modules directorySecuritySomething is insecure or can be secured
Activity
fix(blueprints): apply fedramp-high/gitlab GKE control plane and node…
fix(blueprints): apply fedramp-high/gitlab GKE control plane and node…