Skip to content

CloudFormation parameters not shown. #38

Open
@huxoll

Description

@huxoll
Contributor

After launching a CF script, the parameters are not visible in the detail tabs.

Here's a sample script; given correct parameters, it will run, but parameters don't show up:
{
"AWSTemplateFormatVersion" : "2010-09-09",

"Description" : "AWS CloudFormation Sample Template EC2InstanceSample",
"Parameters" : {
"KeyName" : {
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instance",
"Type" : "String"
},
"AvailabilityZone" : {
"Description" : "AvailabilityZone",
"Type" : "String"
},
"InstanceType" : {
"Description" : "InstanceType",
"Type" : "String"
},
"SecurityGroupId" : {
"Description" : "SecurityGroupId",
"Type" : "String"
}
},

"Mappings" : {
"RegionMap" : {
"us-east-1" : { "AMI" : "ami-13289f7a" }
},
"KernelMap" : {
"us-east-1" : { "AKI" : "" }
},
"RamdiskMap" : {
"us-east-1" : { "ARI" : "" }
}
},

"Resources" : {
"cfEc2Instance" : {
"Type" : "AWS::EC2::Instance",
"Properties" : {
"KeyName" : { "Ref" : "KeyName" },
"AvailabilityZone" : { "Ref" : "AvailabilityZone" },
"InstanceType" : { "Ref" : "InstanceType" },
"ImageId" : "ami-13289f7a",
"SecurityGroupIds" :[{"Ref" : "SecurityGroupId"}],
"UserData" : { "Fn::Base64" : "80" }
}
}
},

"Outputs" : {
"InstanceId" : {
"Description" : "InstanceId of the newly created EC2 instance",
"Value" : { "Ref" : "cfEc2Instance" }
},
"AZ" : {
"Description" : "Availability Zone of the newly created EC2 instance",
"Value" : { "Fn::GetAtt" : [ "cfEc2Instance", "AvailabilityZone" ] }
},
"PublicIP" : {
"Description" : "Public IP address of the newly created EC2 instance",
"Value" : { "Fn::GetAtt" : [ "cfEc2Instance", "PublicIp" ] }
},
"PrivateIP" : {
"Description" : "Private IP address of the newly created EC2 instance",
"Value" : { "Ref" : "cfEc2Instance" }
},
"AZ" : {
"Description" : "Availability Zone of the newly created EC2 instance",
"Value" : { "Fn::GetAtt" : [ "cfEc2Instance", "AvailabilityZone" ] }
},
"PublicIP" : {
"Description" : "Public IP address of the newly created EC2 instance",
"Value" : { "Fn::GetAtt" : [ "cfEc2Instance", "PublicIp" ] }
},
"PrivateIP" : {
"Description" : "Private IP address of the newly created EC2 instance",
"Value" : { "Fn::GetAtt" : [ "cfEc2Instance", "PrivateIp" ] }
},
"PublicDNS" : {
"Description" : "Public DNSName of the newly created EC2 instance",
"Value" : { "Fn::GetAtt" : [ "cfEc2Instance", "PublicDnsName" ] }
},
"PrivateDNS" : {
"Description" : "Private DNSName of the newly created EC2 instance",
"Value" : { "Fn::GetAtt" : [ "cfEc2Instance", "PrivateDnsName" ] }
}
}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @huxoll@dmohanty09

      Issue actions

        CloudFormation parameters not shown. · Issue #38 · TranscendComputing/StackStudio