skytap / terraform-provider-skytap

Terraform Skytap provider
https://www.terraform.io/docs/providers/skytap/
Mozilla Public License 2.0
4 stars 11 forks source link

Ability to copy template to another region #30

Open loketan-zz opened 5 years ago

loketan-zz commented 5 years ago

Add ability to copy templates to another region via Terraform. Currently template copy is not available via Terraform.

https://www.terraform.io/docs/providers/skytap/d/template.html

pegerto commented 5 years ago

Hello Loke

Would you be able to clarify this requirement, do expect the data source to filter the template by region?

loketan-zz commented 5 years ago

It's the ability to call this API https://help.skytap.com/API_Documentation.html#Copytemplate to copy a template to another region.

pegerto commented 5 years ago

Hello Loke. I see, then this is a new template resource which functionality is to create a template base in another template different region, with a map information configuration.

loketan-zz commented 5 years ago

Essentially, when making a POST call to templates.json endpoint with a template_id, Skytap will create a new template from the supplied template_id.

you can also specify the target_region and it'll copy that template into a different region (eg. US-West, US-Central etc)

lokeuei commented 4 years ago

@pegerto want to confirm that this feature was actually developed.

pegerto commented 4 years ago

Hello @lokeuei

No, unfortunately, this functionality has not available yet.