Closed renatotecchio closed 11 months ago
Terraform version: v1.5.2 Provider version: v5.1.0 product_id: prd_Site_Defender
Hi @renatotecchio
the message An argument named "custom_certificates" is not expected here. Did you mean to define a block of type "custom_certificates"?
you see is because you used argument syntax (the one with =
) where block syntax were expected by terraform:
expected (notice missing =
before {
):
behavior {
origin {
...
custom_certificates {
...
}
custom_certificates {
...
}
same for cp_code_limits
cp_code_limits {
...
}
Although custom_certificates
and 'ssmap' blocks do miss some fields, and we are aware of that.
Regards
This issue should now be fixed
Hi @lkowalsk-akamai-com could you open this issue again? I'm facing three problems when using property manager with declarative option.
In the
behavior -> origin
block I need to pass thecustom certificates
but Terraform is not accepting it:Terraform message: An argument named "custom_certificates" is not expected here. Did you mean to define a block of type "custom_certificates"?
In the
behavior -> cp_code
block I need to pass thecp_code_limits
but Terraform is not accepting it:Terraform message: An argument named "cp_code_limits" is not expected here. Did you mean to define a block of type "cp_code_limits"?
In the
behavior -> site_shield
block I need to pass thehas_mixed_hosts
andsrc
but Terraform is not accepting it:Terraform message: An argument named "has_mixed_hosts" is not expected here. An argument named "src" is not expected here.