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

Enhance synthetics to accept Datadog API output of test definitions #81

Merged
merged 4 commits into from
Oct 23, 2023

Conversation

Nuru
Copy link
Contributor

@Nuru Nuru commented Oct 22, 2023

what

  • For all modules:
    • Remove dependency on Terraform AWS provider
    • Update Terraform requirement to v1.0.0
  • Enhance the synthetics module:
    • Accept tests defined according to the schema of the Datadog API outputs
    • Make addition of null-label tags optional

why

  • Nothing in the modules needs or is specific to AWS
  • Terraform has been in General Release (v1.0.0) for long enough to drop support for pre-release versions
  • Make it easy to create and modify tests using the Datadog web UI and then maintain them via Terraform
  • Better control of tagging

references

@Nuru Nuru requested review from a team as code owners October 22, 2023 21:53
Copy link

@bridgecrew bridgecrew bot left a comment

Choose a reason for hiding this comment

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

Bridgecrew has found errors in this PR ⬇️

test/src/go.mod Show resolved Hide resolved
@Nuru
Copy link
Contributor Author

Nuru commented Oct 22, 2023

/terratest

@Nuru Nuru mentioned this pull request Oct 22, 2023
@Nuru
Copy link
Contributor Author

Nuru commented Oct 22, 2023

/terratest

@Nuru Nuru requested a review from aknysh October 23, 2023 08:49
@Nuru
Copy link
Contributor Author

Nuru commented Oct 23, 2023

/terratest

Copy link
Member

@milldr milldr left a comment

Choose a reason for hiding this comment

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

grammar nitpicks. otherwise, LGTM

Comment on lines +17 to +18
(Note that some items in the response are read-only, and are ignored if included
in the definition of a test.) There are errors and omissions in the documentation
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
(Note that some items in the response are read-only, and are ignored if included
in the definition of a test.) There are errors and omissions in the documentation
(Note that some items in the response are read-only and are ignored if included
in the definition of a test.) There are errors and omissions in the documentation

Comment on lines +30 to +31
This is a known issue with Datadog, and hopefully will be fixed soon, but verify that it is fixed before
relying on the list of all tests if you are using multistep browser tests.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
This is a known issue with Datadog, and hopefully will be fixed soon, but verify that it is fixed before
relying on the list of all tests if you are using multistep browser tests.
This is a known issue with Datadog and hopefully will be fixed soon, but verify that it is fixed before
relying on the list of all tests if you are using multistep browser tests.


variable "default_tags_enabled" {
type = bool
description = "If true, all tests will have tags from `null-label` added to them"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
description = "If true, all tests will have tags from `null-label` added to them"
description = "If `true`, all tests will have tags from `null-label` added to them"

@Nuru Nuru merged commit de6603d into main Oct 23, 2023
20 checks passed
@Nuru Nuru deleted the synthetics-api branch October 23, 2023 18:48
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.

3 participants