Hi,
I've just recently started looking in to trying to create some cloudformation templates using PowerShell and stumbled over this module. On the surface it looks great but I'm having some issues trying to figure some of the stuff out.
Using the Cloudformation designer it's pretty easy to create resources and their discrepancies.
Example
- I create two VPC's
- Create a subnet in each of those VPC's
Which ends up looking something like this
"Resources": {
"SampleVPC1": {
"Type": "AWS::EC2::VPC",
"Properties": {},
"Metadata": {
"AWS::CloudFormation::Designer": {
"id": "e61f601f-0cbc-4e51-91af-1cd3a1069ca1"
}
}
},
"SampleVPC2": {
"Type": "AWS::EC2::VPC",
"Properties": {},
"Metadata": {
"AWS::CloudFormation::Designer": {
"id": "6edcdbde-97ff-402b-bf32-4bac177f2350"
}
}
},
"VPC1Subnet1": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"VpcId": {
"Ref": "SampleVPC1"
}
},
"Metadata": {
"AWS::CloudFormation::Designer": {
"id": "461c9c16-0ca3-4365-b37c-0bf5fb37bd67"
}
},
"DependsOn": [
"SampleVPC1"
]
},
"VPC2Subnet1": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"VpcId": {
"Ref": "SampleVPC2"
}
},
Are you able to give me some examples of how to get the module to generate the "Ref": "SampleVPC2"?
Thanks
Anthony
Hi,
I've just recently started looking in to trying to create some cloudformation templates using PowerShell and stumbled over this module. On the surface it looks great but I'm having some issues trying to figure some of the stuff out.
Using the Cloudformation designer it's pretty easy to create resources and their discrepancies.
Example
Which ends up looking something like this
Are you able to give me some examples of how to get the module to generate the
"Ref": "SampleVPC2"?Thanks
Anthony