Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/remote-state.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "vpc" {
source = "cloudposse/stack-config/yaml//modules/remote-state"
version = "1.8.0"
version = "2.0.0"

component = "vpc"

Expand Down
4 changes: 4 additions & 0 deletions src/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ terraform {
source = "cloudposse/template"
version = ">= 2.2"
}
utils = {
source = "cloudposse/utils"
version = ">= 2.0.0, < 3.0.0"
Comment on lines +13 to +15

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Match the utils provider range used by remote-state

When Terraform resolves providers it combines this root constraint with the child module's own requirement. Cloud Posse's published remote-state docs for cloudposse/stack-config/yaml//modules/remote-state still list cloudposse/utils as >= 1.7.1, < 2.0.0, so forcing >= 2.0.0, < 3.0.0 here would leave terraform init with no satisfiable version and break every consumer before plan/apply. Please verify the upstream remote-state requirement and mirror that range instead of unconditionally moving this module to utils 2.x.

Useful? React with 👍 / 👎.

}
}
}
6 changes: 3 additions & 3 deletions test/fixtures/vendor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
spec:
sources:
- component: "account-map"
source: github.com/cloudposse/terraform-aws-components.git//modules/account-map?ref={{.Version}}
version: 1.520.0
source: github.com/cloudposse-terraform-components/aws-account-map.git//src?ref={{.Version}}
version: v1.537.2
targets:
- "components/terraform/account-map"
included_paths:
Expand All @@ -19,7 +19,7 @@ spec:

- component: "vpc"
source: github.com/cloudposse-terraform-components/aws-vpc.git//src?ref={{.Version}}
version: v1.536.0
version: v2.1.2
targets:
- "components/terraform/vpc"
included_paths:
Expand Down
Loading