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

CloudFormation parameters of type AWS::SSM::Parameter not converted to the good resource #261

Open
eliauren opened this issue Feb 1, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@eliauren
Copy link

eliauren commented Feb 1, 2024

Expected Behaviour:

When using SSM Parameter types in CloudFormation variables, data resources are properly created :

  VPC:
    Description: The VPC Id
    Type: "AWS::SSM::Parameter::Value<String>"
    Default: vpc-id

  Subnets:
    Description: The Public subnet(s)
    Type: "AWS::SSM::Parameter::Value<List<String>>"
    Default: public-subnets

Creates :

data "aws_ssm_parameter" "vpc" {
  name = "vpc-id"
}

data "aws_ssm_parameter" "subnets" {
  name = "public-subnets"
}

Actual Behaviour:
The parameters are generated as variables :

variable vpc {
  description = "The VPC Id"
  type = string
  default = "vpc-id"
}

variable subnets {
  description = "The Public subnet(s)"
  type = string
  default = "public-subnets"
}

@shadycuz shadycuz added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants