Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VPC][PORT] Disabling port security is not supported #1043

Closed
arnaud-mey opened this issue May 4, 2021 · 1 comment · Fixed by #1045
Closed

[VPC][PORT] Disabling port security is not supported #1043

arnaud-mey opened this issue May 4, 2021 · 1 comment · Fixed by #1045
Milestone

Comments

@arnaud-mey
Copy link

Affected Resource(s)

  • opentelekomcloud_networking_port_v2

#Terraform Version

Terraform v0.14.9

  • provider registry.terraform.io/opentelekomcloud/opentelekomcloud v1.23.8

I'm trying to disable port_security (Source/Destination Check) for port resources but it seems that disabling it is not supported by the terraform module. It can be disabled in the web gui though and via the openstack api.

Is there a way to disable port security?

@arnaud-mey arnaud-mey changed the title [VPC][PORT] [VPC][PORT] Disabling port security is not supported May 4, 2021
@lego963 lego963 added this to the v1.24.0 milestone May 4, 2021
@lego963
Copy link
Contributor

lego963 commented May 4, 2021

@arnaud-mey we will implement this enhancement :)

@lego963 lego963 modified the milestones: v1.24.0, v1.23.10 May 5, 2021
@otc-zuul otc-zuul bot closed this as completed in #1045 May 6, 2021
otc-zuul bot pushed a commit that referenced this issue May 6, 2021
Update schema for `r/netowrking_port_v2`

Summary of the Pull Request
Add possibility to enable/disable port_security_enabled
Resolves: #1043
PR Checklist

 Refers to: #1043
 Tests added/passed.
 Documentation updated.
 Schema updated.

Acceptance Steps Performed
=== RUN   TestAccNetworkingV2Port_basic
--- PASS: TestAccNetworkingV2Port_basic (70.27s)
=== RUN   TestAccNetworkingV2Port_noip
--- PASS: TestAccNetworkingV2Port_noip (69.81s)
=== RUN   TestAccNetworkingV2Port_allowedAddressPairs
--- PASS: TestAccNetworkingV2Port_allowedAddressPairs (92.12s)
=== RUN   TestAccNetworkingV2Port_portSecurity_enabled
--- PASS: TestAccNetworkingV2Port_portSecurity_enabled (82.48s)
=== RUN   TestAccNetworkingV2Port_timeout
--- PASS: TestAccNetworkingV2Port_timeout (70.40s)
PASS

Process finished with the exit code 0

Reviewed-by: None <None>
Reviewed-by: Anton Sidelnikov <None>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants