terraform-provider-sbercloud icon indicating copy to clipboard operation
terraform-provider-sbercloud copied to clipboard

Problem with sbercloud_nat_dnat_rule

Open ippeter opened this issue 3 years ago • 3 comments

Good afternoon, dear sirs.

It seems like there is a bug in sbercloud_nat_dnat_rule.

I need to expose a port on my ECS, which is in a VPC, via DNAT rule. If I do it interactively, via console, I would select the "VPC" scenario, and everything will be ok.

However, when I create the DNAT rule with Terraform as described here, it gets created in the "Direct Connect" scenario, and I can't connect from outside.

I don't see how to specify the scenario with Terraform (or with DNAT API, by the way).

Please take care of this one.

Best regards, P.

ippeter avatar Jun 24 '21 07:06 ippeter