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
In PM akamai_property_rles_builder the cors_support behavior with expose_headers = [] (empty array) causes the TF apply to fail with the error:
"The Expose Headers option on the `CORS Protocol Support` behavior is required."
If we provide any value to the array (i.e. expose_headers = ["pragma"] then the TF apply works with no issues. However an empty array should also be allowed.
Terraform Version
Terraform v1.5.1
on darwin_arm64
provider registry.terraform.io/akamai/akamai v4.1.0
│ Error: activation cannot continue due to rule errors: [
│ {
│ "behavior_name": "",
│ "detail": "The Expose Headers option on the `CORS Protocol Support` behavior is required.",
│ "error_location": "#/rules/behaviors/1/options/exposeHeaders",
│ "instance": "",
│ "status_code": 0,
│ "title": "",
│ "type": "https://problems.luna.akamaiapis.net/papi/v0/validation/attribute_required"
│ }
│ ]
│
│ with akamai_property_activation.jaescalo_terraform-prod,
│ on property.tf line 46, in resource "akamai_property_activation" "jaescalo_terraform-prod":
│ 46: resource "akamai_property_activation" "jaescalo_terraform-prod" {
│
The text was updated successfully, but these errors were encountered:
majakubiec
changed the title
Declarative Property Manager fails on cors_support behavior with default settings
DXE-2830 Declarative Property Manager fails on cors_support behavior with default settings
Jun 30, 2023
In PM akamai_property_rles_builder the cors_support behavior with expose_headers = [] (empty array) causes the TF apply to fail with the error:
If we provide any value to the array (i.e. expose_headers = ["pragma"] then the TF apply works with no issues. However an empty array should also be allowed.
Terraform Version
Terraform v1.5.1
on darwin_arm64
provider registry.terraform.io/akamai/akamai v4.1.0
Affected Resource(s)
Terraform Configuration Files
Error Output
The text was updated successfully, but these errors were encountered: