Closed RafaelloLollipop closed 1 year ago
This issue is caused by the AddResource function in the client escaping special characters, while the DeleteResourceWithArgs does not.
Hello @RafaelloLollipop , Thanks for raising this issue. I did fix this issue and it will be released to the terraform registry in our next releases. I will update you on that soon.
Hey @ravager-dk , thanks for working on this issue, I saw your PR but currently we are not accepting 3rd party contribution due to some company policies. Our internal team is working on accepting 3rd part contribution we will update this soon.
Thanks, Rohit
Hello @RafaelloLollipop , Thanks for raising this issue. I did fix this issue and it will be released to the terraform registry in our next releases. I will update you on that soon.
Hey @ravager-dk , thanks for working on this issue, I saw your PR but currently we are not accepting 3rd party contribution due to some company policies. Our internal team is working on accepting 3rd part contribution we will update this soon.
Thanks, Rohit
Hi Rohit
No problem, I am actually internal, just not in engineering.
Regards, Martin Nygaard Jensen
Hi @RafaelloLollipop , Thanks for raising this issue. I have fixed the resource you can use the latest terraform plugin v1.34.0.
Thanks Rohit
Bug Report
Describe the bug
If key in string map contains "/'" or "%" it can not be removed by terraform. But i'm pretty sure that it was working like 1-2 months ago.
To Reproduce Steps to reproduce the behaviour:
resource "citrixadc_policystringmap" "tf_policystringmap" { name = "tf_tests" }
resource "citrixadc_policystringmap_pattern_binding" "tf_bind1" { name = "tf_tests" key = "test" value = "test" }
resource "citrixadc_policystringmap_pattern_binding" "tf_bind2" { name = "tf_tests" key = "test/test" value = "random" }
string_maps: Perform terraform plan
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
Terraform will perform the following actions:
module.ns_tst_string_maps.citrixadc_policystringmap.tf_policystringmap will be created
resource "citrixadc_policystringmap" "tf_policystringmap" {
module.ns_tst_string_maps.citrixadc_policystringmap_pattern_binding.tf_bind1 will be created
resource "citrixadc_policystringmap_pattern_binding" "tf_bind1" {
module.ns_tst_string_maps.citrixadc_policystringmap_pattern_binding.tf_bind2 will be created
Plan: 3 to add, 0 to change, 0 to destroy.
plan:
apply:
State:
Expected behaviour Both citrixadc_policystringmap_pattern_binding. removed
Environment (please complete the following information):
go version go1.18 linux/amd64