-
Notifications
You must be signed in to change notification settings - Fork 85
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
Add provider flag for a policy global manager env #316
Conversation
nsxt/provider.go
Outdated
@@ -145,6 +146,12 @@ func Provider() terraform.ResourceProvider { | |||
Description: "Enforcement Point for NSXT Policy", | |||
DefaultFunc: schema.EnvDefaultFunc("NSXT_POLICY_ENFORCEMENT_POINT", "default"), | |||
}, | |||
"policy_global_manager": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest to call it just "global_manager" - Madhu, what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, just "global_manager" is good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM apart from Anna's comment.
website/docs/index.html.markdown
Outdated
host = "192.168.110.41" | ||
username = "admin" | ||
password = "default" | ||
policy_global_manager = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
global_manager
website/docs/index.html.markdown
Outdated
@@ -177,6 +189,8 @@ The following arguments are used to configure the VMware NSX-T Provider: | |||
* `enforcement_point` - (Optional) Enforcement point, mostly relevant for policy | |||
data sources. For VMC environment, this should be set to `vmc-enforcementpoint`. | |||
For on-prem deployments, this setting should not be specified. | |||
* `policy_global_manager` - (Optional) True if this is a policy global manager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here too, just 'global_manager'. Also, can change the string 'policy global manager' to 'Global Manager'
website/docs/index.html.markdown
Outdated
password = "default" | ||
policy_global_manager = true | ||
host = "192.168.110.41" | ||
usernam = "admin" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LTGM, one typo
No description provided.