Skip to content

Commit ab697e1

Browse files
Benbentwoclaude
andauthored
chore: update remote-state to 2.0.0 and switch to standalone account-map (#84)
* chore: update remote-state to 2.0.0 and vendor account-map from standalone repo - Update remote-state module from 1.8.0 to 2.0.0 - Switch vendor.yaml account-map source from monorepo to standalone cloudposse-terraform-components/aws-account-map at v1.537.2 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * revert: keep remote-state at 1.8.0 for now Utils provider v2.x changes workspace name resolution in utils_component_config, breaking the vpc-flow-logs-bucket remote-state lookup in tests. VPC doesn't directly declare a utils provider, so keeping remote-state at 1.8.0 avoids the conflict while the workspace resolution change is investigated. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * revert: restore remote-state to 2.0.0 The workspace resolution issue with utils v2.x needs to be investigated, but reverting to 1.8.0 would reintroduce the utils provider constraint conflict. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: bump vpc-flow-logs-bucket vendor to v1.537.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * remove environment * fix: remove Go templates from test backend config Utils provider v2.1.0+ no longer resolves Go templates in utils_component_config output (disabled to fix ETXTBSY crash with !terraform.output YAML tags). This caused terraform_remote_state to receive literal {{ .component }} template strings as paths, failing to find state files. Use a single state directory and rely on terraform workspace isolation to separate state per component. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * revert: restore Go templates in test backend config The {{ .component }} pattern is standard across all component test fixtures. The fix for template resolution needs to be upstream in the utils provider — it should selectively re-enable template processing for backend config while still disabling !terraform.output YAML functions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * remove backend config * use defaults * revert changes * cleanup * revert some files to main --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a247ac9 commit ab697e1

File tree

3 files changed

+4
-34
lines changed

3 files changed

+4
-34
lines changed

src/remote-state.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module "vpc_flow_logs_bucket" {
22
count = local.vpc_flow_logs_enabled ? 1 : 0
33

44
source = "cloudposse/stack-config/yaml//modules/remote-state"
5-
version = "1.8.0"
5+
version = "2.0.0"
66

77
component = var.vpc_flow_logs_bucket_component_name
88
environment = var.vpc_flow_logs_bucket_environment_name

test/fixtures/vendor.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
spec:
77
sources:
88
- component: "account-map"
9-
source: github.com/cloudposse/terraform-aws-components.git//modules/account-map?ref={{.Version}}
10-
version: 1.520.0
9+
source: github.com/cloudposse-terraform-components/aws-account-map.git//src?ref={{.Version}}
10+
version: v1.537.2
1111
targets:
1212
- "components/terraform/account-map"
1313
included_paths:
@@ -19,7 +19,7 @@ spec:
1919

2020
- component: "vpc-flow-logs-bucket"
2121
source: github.com/cloudposse-terraform-components/aws-vpc-flow-logs-bucket.git//src?ref={{.Version}}
22-
version: v1.534.0
22+
version: v1.537.0
2323
targets:
2424
- "components/terraform/vpc-flow-logs-bucket"
2525
included_paths:

test/vendor.yaml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)