[openstack-dev] [Heat] Referencing VPC resources across templates
Simon Pasquier
pasquier.simon at gmail.com
Wed Apr 3 11:56:46 UTC 2013
Thanks for the reply.
I didn't dig much into the AWS documentation but like you pointed out, my
point was broader than just splitting VpcId & subnet resources. It would be
cool if Heat could support a template like this one:
https://s3.amazonaws.com/cloudformation-templates-us-east-1/VPC_EC2_Instance_with_EIP_and_Security_Group.template
Is it ok to file a bug on Launchpad for this use case?
Simon
2013/4/3 Zane Bitter <zbitter at redhat.com>
> On 03/04/13 09:29, Simon Pasquier wrote:
>
>> Hi,
>>
>> Let say I have a first template to create a VPC network and another one
>> to create a subnet associated to that VPC.
>>
>> <snip>
>>
>>
>> I want to pass the VpcId value as a parameter to the second template but
>> the stack creation fails. Looking at the code, this use case doesn't
>> seem to be supported.
>> Am I right? If yes, is it something planned for a future release?
>> Thanks,
>> Simon
>>
>
>
> You're correct that this is not supported (the VPC must be in the same
> template as the subnet). It also doesn't appear to be supported by AWS (the
> documentation is poor, but it looks like the property type is "Ref", not
> "String") so, unless that proves not to be the case, it's extremely
> unlikely that we would add support for it.
>
> What AWS _does_ support is creating the subnet in the same template as the
> VPC and then passing the subnet ID to another template in the way you
> describe. Heat doesn't implement the SubnetId property on an Instance at
> all yet, but when it does this is something that ought to be allowed IMO.
>
> cheers,
> Zane.
>
> ______________________________**_________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.**org <OpenStack-dev at lists.openstack.org>
> http://lists.openstack.org/**cgi-bin/mailman/listinfo/**openstack-dev<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130403/fc3b13d1/attachment.html>
More information about the OpenStack-dev
mailing list