terraform
1082843,937
C
cam72cam1 day ago
Sharing for visibility: https://github.com/goreleaser/goreleaser/issues/6514. Newer go-releaser versions are breaking provider signing.
D
david3 days ago
What’s the reasoning behind having so many of components being pinned to < 6 for the aws provider? Lambdas need a provider version 6.21> to utilize python 3.14. We’re particularly hitting this issue with the
I understand I can pull the latter locally and reference that way, but would like to see the upstream be operational if it can support it.
aws-datadog-lambda-forwarder component also having a requirement on the aws-datadog-credentials component.I understand I can pull the latter locally and reference that way, but would like to see the upstream be operational if it can support it.
R
Roman Orlovskiy5 days ago
Hello. Are there any good workarounds for depends_on in data resources and cases like https://github.com/hashicorp/terraform-provider-aws/issues/29421 ? In my setup, I am trying to create a terraform aws-sso module, which not only creates AWS PS and assigns to accounts, but also creates an AD group, triggers AWS SCIM sync, and then using data resource finds the corresponding AWS SSO group id via its name. The issue is that data resource needs to depend on the AD SCIM trigger resource, which results in constant "known after apply" AWS Permission Set account assignment resource recreation due to how data resources work. I know that I can use ignore_changes lifecycle, or even separate the module into two technically, but just curious if anyone faced something similar and has some other approaches.
J
J
Joe Perez13 days ago
Lessons learned from scaling Infrastructure as Code from 5 to 1000+ workspaces https://www.ordisi.us/posts/2026_1_scaling/
J
johncblandii20 days ago
@James Humphries how long does it generally take to for the registry to update now that #3808 merged and CI ran?
J
J
johncblandii20 days ago
yeah, just trying to get this issue over the line
J
James Humphries20 days ago
@johncblandii, you shouldn't ever have to do a manual PR to bump versions. I think someone is putting together a fix now 😄
J
johncblandii20 days ago
Add a PR with the missing values https://github.com/opentofu/registry/pull/3806
J
johncblandii20 days ago
We’re seeing OpenTofu not sync with the repo releases. I requested access to the CNCF slack (seems that requires a human review).
I confirmed the GitHub RSS feed shows v1.32.0 but https://search.opentofu.org/provider/cloudposse/utils/latest does not.
Any thoughts?
CC @James Humphries
I confirmed the GitHub RSS feed shows v1.32.0 but https://search.opentofu.org/provider/cloudposse/utils/latest does not.
Any thoughts?
CC @James Humphries
M
Michal Tomaszek20 days ago
Hey, is there anything against implementing import of secrets and rulesets in this component?
https://github.com/cloudposse-terraform-components/aws-github-repository
https://github.com/cloudposse-terraform-components/aws-github-repository
M
Maksym Vlasov21 days ago
Hi
does anyone know is https://github.com/cloudposse/terraform-provider-context maintained or already deprecated?
Docs are mostly not existing and no activity for half year 🤔
does anyone know is https://github.com/cloudposse/terraform-provider-context maintained or already deprecated?
Docs are mostly not existing and no activity for half year 🤔
G
Gaurav Gupta26 days ago
I'm new to this channel.
G
Gaurav Gupta26 days ago
Hi @everyone
C
cricketsc29 days ago(edited)
Are folks here reliably able to use manifest rendering via the terraform helm provider? What version of the provider are you using?
T
Tyler Rankin29 days ago
We make heavy use of
All Spacelift UI outputs for each of our eks stacks (>20) recently started to display
Throughout the planning phase we have multiple remote-state calls reading cross account values and we observe the workspace changing by checking
It seems like the last remote-state call might be to
All that said our local atmos applies succeed. So I guess the question to the group is has anyone seen an issue with
remote-state, generally v1.8.0. Recently we've encountered an issue with our eks component. We believe there is a piece of this on Spacelift’s end that is causing the issue but was curious if anyone else using remote-state might've observed this behavior. All Spacelift UI outputs for each of our eks stacks (>20) recently started to display
sandbox values. We don't have any corresponding runs that show these being set. The stacks are failing to apply due to a lineage mismatch. Throughout the planning phase we have multiple remote-state calls reading cross account values and we observe the workspace changing by checking
terraform workspace show. I assume this might be normal for the remote-state calls to actually lookup the state values. It seems like the last remote-state call might be to
sandbox, and Spacelift isn't reading .terraform/enviroment a final time after it switches back to workspace of the actual stack we are planning. This causes Spacelift to pull the sandbox state and attempt an apply which fails. While Spacelift UI outputs are incorrect, the state file for each of our eks components are intact and don't have erroneous sandbox values. All that said our local atmos applies succeed. So I guess the question to the group is has anyone seen an issue with
remote-state ever targeting the incorrect workspace at the end of a plan/apply? R
RickAabout 1 month ago
terraform-provider-utils plugin errorA
Ashwini Manojabout 1 month ago(edited)
Hi, I am new to atmos and I was wondering what is the difference between the module vpc-peering and the component vpc-peering?
I thought the component would be building on top of the module, but that doesn't seem to be the case.
Does that mean they are maintained parallelly with the same features available?
What should I consider using in my project, the component or the module?
https://github.com/cloudposse/terraform-aws-vpc-peering
https://github.com/cloudposse-terraform-components/aws-vpc-peering
I thought the component would be building on top of the module, but that doesn't seem to be the case.
Does that mean they are maintained parallelly with the same features available?
What should I consider using in my project, the component or the module?
https://github.com/cloudposse/terraform-aws-vpc-peering
https://github.com/cloudposse-terraform-components/aws-vpc-peering
J
Jonathan Roseabout 1 month ago
I am trying to understand how I can use cloudposse/terraform-github-repository at v1.1.0 to create sample "projects" (e.g. dotnet, python, java, HCL) with an expected directory structure
E
erikabout 1 month ago
@James Humphries any insights on what the OpenTofu provider rate limits are?
P
Prasannaabout 2 months ago
@Prasanna has joined the channel
J
JSabout 2 months ago
@JS has joined the channel
S
Salman Shaikabout 2 months ago
@Salman Shaik has joined the channel
D
Deepabout 2 months ago
@Deep has joined the channel
B
brandonvin2 months ago(edited)
Does anyone have a reusable tool or scripts handy for bulk-moving resources from one root module to another?
I could build one, but figured I'd ask before reinventing the wheel
I could build one, but figured I'd ask before reinventing the wheel
J
J
M
Mujahid this side3 months ago
👋 Hello, team!
Y
Yurii3 months ago
very close to crossplane
R
A
akirata4 months ago
Heya do you guys use anything else with cloudposse yaml of datadog monitors? like Kustomize,yq etc?
C
Cyberjesus4 months ago
is there any way to use templates in workflows? I tried using a
!template yaml function to apply a sprig template but it doesn't seem to work The following command failed to execute:
atmos terraform plan aws_federated_access -s !template entau-{{ env STAGE }}-{{ env BRAND }}-awsapse2M
Michael4 months ago
Happy Friday! Thought I'd share a little blog post on some of my favorite Terraform techniques that I've picked up from the Cloud Posse community over the years. It's nothing revolutionary, but some of these tricks aren't widely used from what I've seen in the wild:
https://rosesecurity.dev/2025/12/04/terraform-tips-and-tricks.html
https://rosesecurity.dev/2025/12/04/terraform-tips-and-tricks.html
S
Sean Nguyen4 months ago
Hi all, looking for feedback on this PR here 🙂
https://github.com/cloudposse/terraform-aws-msk-apache-kafka-cluster/pull/143
https://github.com/cloudposse/terraform-aws-msk-apache-kafka-cluster/pull/143
M
Marat Bakeev4 months ago
Hi guys, what is the future of account-map component? We've noticed a bit about it being deprecated?
Jonathan5 months ago
Hey folks, I built a new Kubernetes Terraform provider that might be interesting to you.
It solves a long-standing Terraform limitation: you can't create a cluster and deploy to it in the same apply. Providers are configured at the root, before resources exist, so you can't use a cluster's endpoint as provider config.
Most people work around this with two separate applies, some use null_resource hacks, others split everything into multiple stacks. After being frustrated by this for many years, I realized the only solution was to build a provider that sidesteps the whole problem with inline connections.
Example:
Create cluster → deploy workloads → single apply. No provider configuration needed.
Building with Server-Side Apply from the ground up (rather than bolting it on) opened doors to fix other persistent community issues with existing providers.
• Accurate diffs - Server-side apply dry-run projections show actual changes, not client-side guesses
• YAML + validation - K8s strict schema validation catches typos at plan time
• CRD+CR same apply - Auto-retry handles eventual consistency (no more time_sleep)
• Patch resources - Modify EKS/GKE defaults without taking ownership
• Non-destructive waits - Timeouts don't force resource recreation
300+ tests, runnable examples for everything.
GitHub: https://github.com/jmorris0x0/terraform-provider-k8sconnect
Registry: https://registry.terraform.io/providers/jmorris0x0/k8sconnect/latest
Would love feedback if you've hit this pain point.
It solves a long-standing Terraform limitation: you can't create a cluster and deploy to it in the same apply. Providers are configured at the root, before resources exist, so you can't use a cluster's endpoint as provider config.
Most people work around this with two separate applies, some use null_resource hacks, others split everything into multiple stacks. After being frustrated by this for many years, I realized the only solution was to build a provider that sidesteps the whole problem with inline connections.
Example:
resource "k8sconnect_object" "app" {
cluster = {
host = aws_eks_cluster.main.endpoint
token = data.aws_eks_cluster_auth.main.token
}
yaml_body = file("app.yaml")
}Create cluster → deploy workloads → single apply. No provider configuration needed.
Building with Server-Side Apply from the ground up (rather than bolting it on) opened doors to fix other persistent community issues with existing providers.
• Accurate diffs - Server-side apply dry-run projections show actual changes, not client-side guesses
• YAML + validation - K8s strict schema validation catches typos at plan time
• CRD+CR same apply - Auto-retry handles eventual consistency (no more time_sleep)
• Patch resources - Modify EKS/GKE defaults without taking ownership
• Non-destructive waits - Timeouts don't force resource recreation
300+ tests, runnable examples for everything.
GitHub: https://github.com/jmorris0x0/terraform-provider-k8sconnect
Registry: https://registry.terraform.io/providers/jmorris0x0/k8sconnect/latest
Would love feedback if you've hit this pain point.
MrAtheist5 months ago
anyone know how to go about destroying a specific resource deep in the modules without making a mess...?
in this case i would like to destroy
i thought this was pretty trivial until i step thru the tf plan, but i dont think this is doable by messing with hcl itself, instead...
any other suggestions...?
in this case i would like to destroy
module.service_b.module.ec2 ...module "service_a" {
source = "../modules/stuff"
...
}
module "service_b" {
source = "../modules/stuff"
...
}
...
# modules/stuff
module "ec2" {
source = "../modules/ec2"
}
...
... some more stuffi thought this was pretty trivial until i step thru the tf plan, but i dont think this is doable by messing with hcl itself, instead...
terraform destroy --target module.service_b.module.ec2
terraform state rm module.service_b.module.ec2any other suggestions...?
Alek5 months ago
Hello team! 👋
I'm hitting a perpetual diff on various resources originating from the GitHub Provider, used in the aws-argocd-github-repo component. Specifically, the
I found our that recently, this PR was merged, which directly addresses handling of etags on the GH provider. Is my understanding correct that the issue should resolve on its own once the change gets released (currently it is not)? Are you aware of any other workaround here? (fyi.
I'm hitting a perpetual diff on various resources originating from the GitHub Provider, used in the aws-argocd-github-repo component. Specifically, the
etag property is constantly changing on the GitHub's API side, creating ever-changing plans. Those plans are failing to apply via gitops with plan files have differences.I found our that recently, this PR was merged, which directly addresses handling of etags on the GH provider. Is my understanding correct that the issue should resolve on its own once the change gets released (currently it is not)? Are you aware of any other workaround here? (fyi.
ignore_changes on etag does not work)Prateek kumar5 months ago
I'm trying to build a tool which require, terraform core's connectivity, using RPC
!!not building a plugin, its like a standalone software that imports terraform core and compares files,
but didn't found any content on youtube, i really do even know how to initiate this project.
i am an intern BTW!
!!not building a plugin, its like a standalone software that imports terraform core and compares files,
but didn't found any content on youtube, i really do even know how to initiate this project.
i am an intern BTW!
Craig5 months ago
👋 I'm trying to figure out what I am doing incorrectly when using the
I have several VPCs already created from this module and am working towards removing the default VPC security group default egress & ingress rules. I thought I would be able to do this by simply adding the
If I set the value to
Why does setting this value to
default_security_group_deny_all variable with the terraform-aws-vpc module.I have several VPCs already created from this module and am working towards removing the default VPC security group default egress & ingress rules. I thought I would be able to do this by simply adding the
default_security_group_deny_all variable to my existing Terraform with a value of true and just redeploying my Terraform, however when I make a PR with those changes, my Terraform plan shows 0 changes to be made.If I set the value to
false I see the default security group being removed (I imagine by setting this to false I'll need to make a moved block indicating that I am now managing this security group as part a different Terraform resource), but that's not what i want to do.Why does setting this value to
true not seem to do anything for already created default VPC security groups?Mark Johnson5 months ago(edited)
Hi CloudPosse team - Any chance we can get an issue to update Terraform awsutils - https://github.com/cloudposse/terraform-provider-awsutils
Updated such that the corresponding awsutils resources support a
---
Use Case: We now pass in ~15
Updated such that the corresponding awsutils resources support a
region parameter? Basically, similar to the AWS 6.0 Terraform provider?---
Use Case: We now pass in ~15
awsutils providers each with separate regions to delete VPCs for all these regions. It would be amazing to loop over with a region parameter.Drew Fulton5 months ago(edited)
Good morning, I've been a longtime fan of the CloudPosse architecture as we used it at one of my former roles. While I was overseeing our architecture at the time, I was not the person that actually set up the original accounts a few year ago. As a result, I'm taking some time to go through the process myself so I can set things up in the future. I'm making really solid progress but seem to have run into a wall and could really use some help.
I've been working through the foundation documents on my own. I'm currently in the Deploy Accounts (https://docs.cloudposse.com/layers/accounts/deploy-accounts/) stage. I've run everything through Step 6 deploying the accounts and account map.
I'm now trying to apply the
I've tried setting
FWIW, I've confirmed I'm using the latest versions of all the modules.
Thanks for any suggestions!
I've been working through the foundation documents on my own. I'm currently in the Deploy Accounts (https://docs.cloudposse.com/layers/accounts/deploy-accounts/) stage. I've run everything through Step 6 deploying the accounts and account map.
I'm now trying to apply the
account-settings module and its failing with two instances of the The given key does not identify an element in this collection value. error. The docs mention that this is usually due to a mismatch of the root_account_aws_name in the account-map. I've confirmed that multiple times and have it set to root. For this troubleshooting, let's assume we are trying to apply the account-settings for the audit account which is called core-audit. The account-settings module appears to be looking for the audit index instead of core-audit.I've tried setting
audit_account_account_name to both core-audit and audit, neither of which are working. I believe the value should be core-audit. Where else could I be going wrong?FWIW, I've confirmed I'm using the latest versions of all the modules.
Thanks for any suggestions!
Craig5 months ago
I imagine I could create a x-account trust policy like this:
but I don't think you can apply it to the permissionset that is being created on the AWS destination account side
data "aws_iam_policy_document" "xaccount_trust_policy" {
provider = aws.destination
statement {
actions = [
"sts:AssumeRole",
"sts:TagSession",
"sts:SetSourceIdentity"
]
principals {
type = "AWS"
identifiers = ["arn:aws:iam::${data.aws_caller_identity.source.account_id}:root"]
}
}
}but I don't think you can apply it to the permissionset that is being created on the AWS destination account side
Craig5 months ago(edited)
👋 I am using the https://github.com/cloudposse/terraform-aws-sso/ module to create permission_sets and assign them to AWS accounts, pretty standard stuff.
I would like to try and customize the trust policy associated with a permissionset to allow for assuming the role in one AWS account, from another AWS account within the same Org, but I'm not finding much to go on as far as examples go in this repo.
I am trying to setup something that would allow users that have been assigned a role in AWS permissions to copy items from an S3 bucket in Account A to an S3 bucket in Account B, within the same region, similar to what's goin gon here: https://stackoverflow.com/questions/73639007/allow-user-to-assume-an-iam-role-with-sso-login
the problem I am running into is I am finding nowhere to actually configure the contents of thePermissionSet Trust Policy, is that just something that is outside of the scope of the terraform-aws-sso module?
I would like to try and customize the trust policy associated with a permissionset to allow for assuming the role in one AWS account, from another AWS account within the same Org, but I'm not finding much to go on as far as examples go in this repo.
I am trying to setup something that would allow users that have been assigned a role in AWS permissions to copy items from an S3 bucket in Account A to an S3 bucket in Account B, within the same region, similar to what's goin gon here: https://stackoverflow.com/questions/73639007/allow-user-to-assume-an-iam-role-with-sso-login
the problem I am running into is I am finding nowhere to actually configure the contents of thePermissionSet Trust Policy, is that just something that is outside of the scope of the terraform-aws-sso module?
Erik Osterman (Cloud Posse)5 months ago
Would it be interesting if Cloud Posse offered something like a commercial "Bug Fix Insurance" across our module ecosystem?
Gustavo6 months ago
Hi! Is there an open source SQS module from cloudposse out there? I was checking the sqs-queue one but it's not listed in their modules library and I couldn't use it directly in tf
Marat Bakeev6 months ago
Hey guys, what is the procedure to add or update components in https://github.com/cloudposse-terraform-components ?
For example, if we want to add some features to a component, or we have a completely new component - do we need to ask and discuss somewhere first? Or just send PRs? or..?
For example, if we want to add some features to a component, or we have a completely new component - do we need to ask and discuss somewhere first? Or just send PRs? or..?
will6 months ago
Hi, I'm using the ECR aws module (https://registry.terraform.io/modules/cloudposse/ecr/aws/latest). I would like some clarification on the
1. Does the
2. Is the
We've had some issues with deployed tags being cleaned up and I want to make sure I fully understand these 2 settings. Thanks.
max_image_count and protected_tags_keep_count parameters.1. Does the
max_image_count exclude the images with protected tags?2. Is the
protected_tags_keep_count per unique tag?We've had some issues with deployed tags being cleaned up and I want to make sure I fully understand these 2 settings. Thanks.