DXE-3092 akamai_networklist_activations
does not support terraform import
#469
Labels
akamai_networklist_activations
does not support terraform import
#469
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Not relevant to the issue as I'm following the guide here to import a list into the state.
Debug Output
After running `terraform import "akamai_networklist_activations.activation["List Name"] 0000000":
Panic Output
N/A
Expected Behavior
When importing existing NetworkLists from the account into Terraform, just as with
akamai_networklist_network_list
, it is desired to be able to import the corresponding activations in the Terraform state. As things are, we are able to import the lists into the state withterraform import akamai_networklist_network_list[key] [uniqueid]
but the plan will always create the corresponding activations. This can lead to undesired activations really, and the activation should only be triggered when there is a change in the list.Actual Behavior
To import existing
NetworkLists
into Terraform, we have to recreate the activations in the state withterraform apply
, as it 's not possible to leverageterraform import
to get them into the sate, meaning we will be making uncontrolled API calls under the hood which can cause undesired changes in the platform.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform import akamai_networklist_network_list <uniqueid>
, whereuniqueid
is obtained in the API.terraform plan
will still suggest to create the activation.terraform apply
, there could be calls changing your list state underneath, leading to undesired changes.Important Factoids
N/A
References
N/A
The text was updated successfully, but these errors were encountered: