Reputation: 961
I want to create a subnetgroup for redshift cluster: this template I found:
RedshiftClusterSubnetGroup:
Type: AWS::Redshift::ClusterSubnetGroup
Properties:
Description: Cluster subnet group
SubnetIds:
- !Ref SubnetA
- !Ref SubnetB
Lets say I have two already existed subnet names are: subnetA and subnet B How to use that if I dont want to create the subnet from template?
Upvotes: 1
Views: 881
Reputation: 238081
You can define two parameters:
Parameters:
SubnetA:
Type: AWS::EC2::Subnet::Id
SubnetB:
Type: AWS::EC2::Subnet::Id
This way you can easily choose the existing subnets for your RedshiftClusterSubnetGroup
.
Upvotes: 1