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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
After terraform importing a scaleway_container_cron, the region field should be set to the cron's region.
Actual Behavior
After terraform importing a scaleway_container, the region field is null.
So, if we run terraform apply after importing, Terraform will try to recreate the scaleway_container_cron resource.
Steps to Reproduce
create a container cron (outside Terraform)
import the cron with terraform import scaleway_container_cron.test fr-par/11111111-1111-1111-1111-111111111111
check the region field: jq '.resources[] | select(.name == "test") | .instances[0].attributes.region' terraform.tfstate
References
for scaleway_function, the missing region have been added here: function: missing fields in Read #2364. I guess this is the same issue, but for containers, and it only affects region
The text was updated successfully, but these errors were encountered:
Community Note
Terraform Version
registry.terraform.io/scaleway/scaleway
v2.36.0Affected Resource(s)
scaleway_container_cron
Terraform Configuration Files
Expected Behavior
After
terraform import
ing ascaleway_container_cron
, theregion
field should be set to the cron's region.Actual Behavior
After
terraform import
ing ascaleway_container
, theregion
field isnull
.So, if we run
terraform apply
after importing, Terraform will try to recreate thescaleway_container_cron
resource.Steps to Reproduce
terraform import scaleway_container_cron.test fr-par/11111111-1111-1111-1111-111111111111
region
field:jq '.resources[] | select(.name == "test") | .instances[0].attributes.region' terraform.tfstate
References
scaleway_function
, the missingregion
have been added here: function: missing fields in Read #2364. I guess this is the same issue, but for containers, and it only affectsregion
The text was updated successfully, but these errors were encountered: