Reputation: 901
I want to create cloudfomation template that reuse the existing resources for example I want to create a new instance and attach it to an existing loadbalancer and I want to select the loadbalancer form my existing loadbalancers in a dropdown.
Is there anyway to make cloudformation template to show the existing resource and reuse it ?
Upvotes: 0
Views: 663
Reputation: 1638
You can not list the loadbalancer in the dropdown as its not available in AWS-Specific Parameter Types.
But you can use aws Fn::ImportValue to import existing loadbalancer value.
Upvotes: 2