You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation about akamai_property_include resource indicates the argument "product_id" is required. After successfully import the resource we are not able to manage the resource without recreating it. The argument "product_id" is not set during import phase but it is required, so we can't avoid the recreation of the include after successfully imported. Are we missing something?
Terraform and Akamai Terraform Provider Versions
Terraform v1.5.7 on linux_amd64
+ provider registry.terraform.io/akamai/akamai v6.3.0
# module.include.akamai_property_include.main must be replaced
-/+ resource "akamai_property_include" "main" {
~ id = "xxxxxxx" -> (known after apply)
~ latest_version = 3 -> (known after apply)
+ product_id = "prd_Fresca" # forces replacement
Panic Output
N/A
Expected Behavior
After importing the akamai_property_include we should be able to manage the resource via Terraform without recreating it.
Actual Behavior
After importing the akamai_property_include it must be recreated to set product_id attribute.
Steps to Reproduce
create on Property Manager a new include on ION Standard Product
import the new created resource via terraform import 'ctr_xxxx:grp_xxxxx:inc_xxxxxx'
run terraform plan
Important Factoids
N/A
References
N/A
The text was updated successfully, but these errors were encountered:
estif95
changed the title
Unable to manage akamai_property_include after import resource
Unable to avoid akamai_property_include recreation after successful import
Aug 21, 2024
Thanks for reporting this issue. I was able to reproduce it and we will investigate potential solution and go back to you. For now you can try to drop product_id from you configuration as it is not needed after import.
BR,
Lukasz
lsadlon
changed the title
Unable to avoid akamai_property_include recreation after successful import
DXE-4164 Unable to avoid akamai_property_include recreation after successful import
Aug 21, 2024
The documentation about akamai_property_include resource indicates the argument "product_id" is required. After successfully import the resource we are not able to manage the resource without recreating it. The argument "product_id" is not set during import phase but it is required, so we can't avoid the recreation of the include after successfully imported. Are we missing something?
Terraform and Akamai Terraform Provider Versions
Affected Resource(s)
Terraform Configuration Files
N/A
Debug Output
Panic Output
N/A
Expected Behavior
After importing the akamai_property_include we should be able to manage the resource via Terraform without recreating it.
Actual Behavior
After importing the akamai_property_include it must be recreated to set product_id attribute.
Steps to Reproduce
Important Factoids
N/A
References
N/A
The text was updated successfully, but these errors were encountered: