Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capability_iam issue when executing cloudformation templates using terraform #11703

Open
ghost opened this issue Jan 22, 2020 · 1 comment
Open
Labels
service/cloudformation Issues and PRs that pertain to the cloudformation service. waiting-response Maintainers are waiting on response from community or contributor.

Comments

@ghost
Copy link

ghost commented Jan 22, 2020

This issue was originally opened by @scrmtel as hashicorp/terraform#23896. It was migrated here as a result of the provider split. The original body of the issue is below.


Terraform Version

0.11

Terraform Configuration Files

resource "aws_cloudformation_stack" "network" {
  name = "networking-stack"

  parameters = {
    VPCCidr = "10.0.0.0/16"
  }

  template_body = <<STACK
{
  "Parameters" : {
    "VPCCidr" : {
      "Type" : "String",
      "Default" : "10.0.0.0/16",
      "Description" : "Enter the CIDR block for the VPC. Default is 10.0.0.0/16."
    }
  },
  "Resources" : {
    "myVpc": {
      "Type" : "AWS::EC2::VPC",
      "Properties" : {
        "CidrBlock" : { "Ref" : "VPCCidr" },
        "Tags" : [
          {"Key": "Name", "Value": "Primary_CF_VPC"}
        ]
      }
    }
  }
}
STACK
}

Debug Output

CAPABILITY_IAM or CAPABILITY_AUTO_EXPAND is missing

Expected Behavior

capability_IAM errors should not come

Actual Behavior

CAPABILITY_IAM or CAPABILITY_AUTO_EXPAND is missing

Steps to Reproduce

Please list the full steps required to reproduce the issue, for example:

  1. terraform init
  2. terraform apply
@ghost ghost added the service/cloudformation Issues and PRs that pertain to the cloudformation service. label Jan 22, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Jan 22, 2020
@justinretzolk
Copy link
Member

Hey @scrmtel 👋 Thank you for taking the time to file this issue! Given that there's been a number of AWS provider releases since you initially filed it, can you confirm whether you're still experiencing this behavior?

@justinretzolk justinretzolk added waiting-response Maintainers are waiting on response from community or contributor. and removed needs-triage Waiting for first response or review from a maintainer. labels Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/cloudformation Issues and PRs that pertain to the cloudformation service. waiting-response Maintainers are waiting on response from community or contributor.
Projects
None yet
Development

No branches or pull requests

1 participant