Closed eht16 closed 1 month ago
Hi @eht16, this error right from API, if you want to change API behaviour please create a demand through customer support.
P.S.: Checked documentation: port number range in the format of a:b, please try 1:65535
I was confused because it seems to first occur since 1.36.14 and so I assumed that it is related to changes in the provider.
Using "1:65535" works, thanks. Though in the OTC Console it is displayed differently ("1:65535" vs "All"). I guess technically it is probably almost the same.
Hi @eht16 yes, sure, according documentation it should be the same. Closing issue.
Terraform provider version
v1.36.16
Affected Resource(s)
opentelekomcloud_fw_rule_v2
Terraform Configuration Files
Steps to Reproduce
terraform apply
to create the firewall ruleenabled = "true"
3.terraform apply
to modify the firewall ruleExpected Behavior
The firewall rule is activated and the source_port is not modified.
Actual Behavior
Error message via Terraform:
Important Factoids
I also tried the values
"all"
,null
,0
,"0"
,1-65535
forsource_port
, none of them works.The rule in the example above is only for demonstration. In real world, I'm about to modify my existing ingress rules where I do not want to specify a source port but instead have it applied for all source ports. This worked this way until recently, it seems it is broken since 1.3.14. So this might be related to https://github.com/opentelekomcloud/terraform-provider-opentelekomcloud/pull/2571.