-
Notifications
You must be signed in to change notification settings - Fork 389
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
[Synthetics] Add support for restricted roles for global variables #1178
Conversation
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.
Can you rebase on master ? There's been some fixes to the integration tests pipeline which was broken.
@@ -48,7 +48,7 @@ func resourceDatadogSyntheticsGlobalVariable() *schema.Resource { | |||
Sensitive: true, | |||
}, | |||
"secure": { | |||
Description: "Sets the variable as secure. Defaults to `false`.", | |||
Description: "If set to true, the value of the global variable will be hidden. Defaults to `false`.", |
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.
Going to need to run make docs
Also I think
Description: "If set to true, the value of the global variable will be hidden. Defaults to `false`.", | |
Description: "If set to true, the value of the global variable is hidden. Defaults to `false`.", |
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.
+1 on that, we try to avoid future tense as often as we can!
@@ -99,6 +99,12 @@ func resourceDatadogSyntheticsGlobalVariable() *schema.Resource { | |||
}, | |||
}, | |||
}, | |||
"restricted_roles": { | |||
Description: "A list of role identifiers to associate with the Synthetics global variable", |
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.
Description: "A list of role identifiers to associate with the Synthetics global variable", | |
Description: "A list of role identifiers to associate with the Synthetics global variable.", |
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.
Danke!
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.
Looks good for docs!
fab31c1
to
86ffa83
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
…g into rberger/SYA-1073/gv-restricted-roles
…g into rberger/SYA-1073/gv-restricted-roles
…aDog/terraform-provider-datadog into rberger/SYA-1073/gv-restricted-roles
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Add support for restricted roles for Synthetics global variables. This PR also updates the go clients to have access to the necessary methods.