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
+1 this issue as it's still a relevant problem that prevents the cloudflare_access_group resource type for auto code generation from being valid (requires manual correction).
Confirmation
cf-terraforming version
v0.13.0
Expected outcome
resource "cloudflare_access_group" "terraform_managed_resource_e04041e3-1535-4dbf-8e82-2b8c526c671b" {
name = "Partner: Vodafone"
zone_id = "xxxxxxxxxxxxxxxxxxxxxx"
include {
email_domain = {
domain = ["vodafone.com"]
}
}
}
Actual outcome
resource "cloudflare_access_group" "terraform_managed_resource_e04041e3-1535-4dbf-8e82-2b8c526c671b" {
name = "Partner: Vodafone"
zone_id = "xxxxxxxxxxxxxxxxxxxxxx"
include {
email_domain = {
domain = "vodafone.com". <--- missing [ ]
}
}
}
Steps to reproduce
cf-terraforming generate -z xxxxxxxxxxxxxxxxxxxxxx --resource-type "cloudflare_access_group"
According to documentation, pretty much anything must be a list of strings.
https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/access_group#nestedblock--include
References
No response
The text was updated successfully, but these errors were encountered: