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

Add organization_settings module and example #56

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

aknysh
Copy link
Member

@aknysh aknysh commented Dec 9, 2021

what

  • Add organization_settings module and example
  • Remove datadog_organization_settings resource from the child_organization module

why

  • datadog_organization_settings for Datadog organizations (including child orgs) must be provisioned using API keys for that organization after the organization itself has been created
  • A child org is created in the context of the root org using the root org's API key, while a child org's settings are provisioned using the child org's API keys
  • Creating a child org and updating its settings is a two-step process and needs to be handled by two different modules and components due to datadog_organization_settings dependencies on the organization API keys

@aknysh aknysh self-assigned this Dec 9, 2021
@aknysh aknysh requested review from a team as code owners December 9, 2021 03:09
@aknysh
Copy link
Member Author

aknysh commented Dec 9, 2021

/test all

@aknysh aknysh merged commit 007e32f into master Dec 9, 2021
@aknysh aknysh deleted the update-child-organization branch December 9, 2021 03:13
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.

2 participants