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

Input validatation is wrong for scm_nat_rule (Resource) #26

Open
jfl-sentinel opened this issue Nov 20, 2024 · 0 comments
Open

Input validatation is wrong for scm_nat_rule (Resource) #26

jfl-sentinel opened this issue Nov 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jfl-sentinel
Copy link

Describe the bug

Input validatation is wrong for scm_nat_rule (Resource)

Expected behavior

This module should allow for creating of many types of NAT rules. The components are there.

Current behavior

Validation only allows for destinations, froms, to_interfaces, and to be any. This is incorrect.

Possible solution

Update schema for Input scm_nat_rule (Resource) to allow all valid values removing the list of just "any"

Steps to reproduce

  1. Create a tf file with a new nat rule using anything besides "any" for the fields listed.
  2. run terraform validate

Screenshots

image

Context

I'm not able to created the needed NAT rules in stratus with Terraform. I need to create about 150. These will need to be created manually because of this.

Your Environment

  • Version used: 0.9.2
  • Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): Python 3.11.2
  • Operating System and version (desktop or mobile): Debian 12
  • Link to your project: N/A
@jfl-sentinel jfl-sentinel added the bug Something isn't working label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant