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

[Synthetics] Add support for restricted roles for global variables #1178

Merged
merged 14 commits into from
Aug 23, 2021

Conversation

romainberger
Copy link
Member

Add support for restricted roles for Synthetics global variables. This PR also updates the go clients to have access to the necessary methods.

@romainberger romainberger requested review from a team as code owners August 19, 2021 12:22
PierreGuyot
PierreGuyot previously approved these changes Aug 19, 2021
Copy link
Contributor

@zippolyte zippolyte left a 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`.",
Copy link
Contributor

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

Suggested change
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`.",

Copy link
Contributor

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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.",

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Danke!

@romainberger romainberger requested review from a team as code owners August 20, 2021 12:55
alai97
alai97 previously approved these changes Aug 20, 2021
Copy link
Contributor

@alai97 alai97 left a 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!

@zippolyte zippolyte force-pushed the rberger/SYA-1073/gv-restricted-roles branch from fab31c1 to 86ffa83 Compare August 23, 2021 08:51
zippolyte
zippolyte previously approved these changes Aug 23, 2021
@zippolyte
Copy link
Contributor

/azp run

@zippolyte zippolyte enabled auto-merge (squash) August 23, 2021 08:52
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

…aDog/terraform-provider-datadog into rberger/SYA-1073/gv-restricted-roles
@zippolyte
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@zippolyte zippolyte merged commit a471465 into master Aug 23, 2021
@zippolyte zippolyte deleted the rberger/SYA-1073/gv-restricted-roles branch August 23, 2021 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants