Closed fartbagxp closed 1 year ago
Hello @fartbagxp
Thank You for opening the issue.
Can You please tell what command You use to generate the config?
The export of config for terraform has a format:
akamai [global flags] terraform command [command flags] [arguments...]
I'm asking about the command
part.
Edit:
Based on the issue 41 I'm assuming it's export-property
but please confirm it.
Best regards, Wojciech
Ah, it's not happening during export-property, it's happening when I run the import.sh
script that's produced by export-property.
This is my command I run: akamai terraform export-property --tfworkpath "${folder}" "${name}"
Just tested with terraform v1.4.0. Everything looks great. I can properly import properties now.
Ran terraform init
followed by terraform import ...
in the import.sh file.
This deprecation error no longer shows up.
Import successful!
The resources that were imported are shown above. These resources are now in
your Terraform state and will henceforth be managed by Terraform.
Thank you!
Problem
When running akamai terraform, it generates code with depreciated attribute warning on a group name when running
terraform plan
afterterraform import <resource>
when running terraform on the generated code.Terraform version
Terraform v1.3.7
Akamai CLI version
akamai version 1.5.3
Akamai CLI Terraform version:
akamai terraform version 1.3.1