Wade
09/17/2025, 1:46 AM>= for modules
2. use pessimistic semver constraints ~> for root modules
but which of those does an Atmos terraform component fit into?
We are building our own components for a brownfields deployment and have based all of our components on the cloudposse example module template which uses the cloudposse test-harness to ensure that provider versions are pinned with only minimum constraints. However, there are cases like https://medium.com/@mr.ryanflynn/why-hard-pinning-terraform-provider-versions-is-essential-a-lesson-from-an-aws-eks-issue-a03928ae410f and recommendations from seasoned terraform users in reddit that suggest versions should always be hard-pinned with =.
I can also see the test-harness did allow pessimistic semver constraints at some point, I just can't see why it was allowed or why it was changed.
We are also exploring the idea of using a component repo as either a component (root module) or a module (eg. an EKS component that includes the generic IAM component as a module to add roles using the cluster's own OIDC provider so we don't have to call the IAM component from atmos a second time)Erik Osterman (Cloud Posse)
09/17/2025, 2:13 PMErik Osterman (Cloud Posse)
09/17/2025, 2:13 PMErik Osterman (Cloud Posse)
09/17/2025, 2:14 PMErik Osterman (Cloud Posse)
09/17/2025, 2:16 PMErik Osterman (Cloud Posse)
09/17/2025, 2:16 PMErik Osterman (Cloud Posse)
09/17/2025, 2:17 PMErik Osterman (Cloud Posse)
09/17/2025, 2:17 PMMatt Parkes
09/17/2025, 11:40 PM>= how do people deal with the case where a provider could have a major version upgrade between the apply to a test environment and the apply to the related Production Environment a few hours/days/weeks later (once it has been tested/proven in the test environment)?