terraform-provider-upcloud | Terraform provider for UpCloud | Infrastructure Automation library
kandi X-RAY | terraform-provider-upcloud Summary
kandi X-RAY | terraform-provider-upcloud Summary
Terraform provider for UpCloud
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- resourceUpCloudServer returns a schema for cloud server
- resourceUpCloudServerUpdate is used to update the cloud server .
- schemaUpCloudManagedDatabaseCommon implements the schemaUpCloudManagedDatabaseCommon interface .
- resourceUpCloudFirewallRules returns a resource for the UpCloud firewall rules
- resourceUpCloudStorage returns a resource for cloud storage
- BuildServerOpts builds request . CreateServerRequest .
- resourceUpCloudServerRead updates the cloud server details .
- data source networks
- resourceUpCloudNetwork returns a resource for cloud network
- resourceUpCloudStorageRead is used to update cloud storage .
terraform-provider-upcloud Key Features
terraform-provider-upcloud Examples and Code Snippets
Community Discussions
Trending Discussions on terraform-provider-upcloud
QUESTION
I am using upcloud provider plugin and terraform 0.12.7 to create new instance of server. Unfortunately plugin is off the main TF site, in https://github.com/UpCloudLtd/terraform-provider-upcloud so it has to be installed using go language, but this part went fine.
...ANSWER
Answered 2019-Sep-04 at 13:04You cannot rename a resource just like that...
If you do, terraform recognizes the following changes two in the resource definitions regarding its state file:
- resource
test
should be removed (as the definition for the resource stored in the state file is gone) - resource
test5
should be created (as the resource does not exist in the state file)
If you want to rename the resource, you have to update the state file accordingly. Check our Terraform Command 'state mv'.
In your case you'd need to run terraform state mv upcloud_server.test upcloud_server.test5
and rename the resource in your resource definition.
Then, the definition would match the state file again.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install terraform-provider-upcloud
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page