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

[datadog_integration_aws_account] Add datadog_integration_aws_account resource #2682

Merged
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
acfb982
WIP
ktmq Nov 13, 2024
bf55187
Remove support for namespace_filters.include/exclude_all
ktmq Nov 13, 2024
4e78e96
Fix validation and refactor
ktmq Nov 19, 2024
45ad980
Add tests and upate example
ktmq Nov 19, 2024
4174362
Merge remote-tracking branch 'origin/master' into katie.mckew/awsmc-1…
ktmq Nov 20, 2024
c3038b4
Set list attributes to optional/computed
ktmq Nov 21, 2024
50b99fa
Fixes and helpers to handle defaults in nested blocks with oneOf cons…
skarimo Dec 2, 2024
57fa274
Merge remote-tracking branch 'origin/master' into katie.mckew/awsmc-1…
ktmq Dec 5, 2024
5dd6306
Rename resource to datadog_integration_aws_account and fix test
ktmq Dec 5, 2024
0b81ec3
Fix secret_access_key and add key-based account test
ktmq Dec 5, 2024
b699432
Add regex validators, cleanup resource validators
ktmq Dec 5, 2024
758f71c
Update import and example and add deprecation message to old resources
ktmq Dec 5, 2024
e7f2c7f
Add missing resource
ktmq Dec 5, 2024
65846f0
Merge branch 'master' into katie.mckew/awsmc-1070-aws-v2-terraform-pr…
skarimo Dec 12, 2024
f20df97
docs
skarimo Dec 12, 2024
2f229fa
fix cassettes
skarimo Dec 12, 2024
a3bc8ef
add default for tags
skarimo Dec 12, 2024
b2ae0b0
Update docs/resources/integration_aws_account.md
ktmq Dec 13, 2024
b8b8802
Merge remote-tracking branch 'origin/master' into katie.mckew/awsmc-1…
ktmq Dec 13, 2024
970cc6c
Exclude from generate-docs and manually edit docs to move auth_config…
ktmq Dec 13, 2024
256c39d
Rework docs on migrating from v1 and import command
ktmq Dec 13, 2024
4d882b9
Update docs
ktmq Dec 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions datadog/fwprovider/framework_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ var Resources = []func() resource.Resource{
NewApplicationKeyResource,
NewApmRetentionFilterResource,
NewApmRetentionFiltersOrderResource,
NewIntegrationAwsAccountResource,
NewCatalogEntityResource,
NewDashboardListResource,
NewDomainAllowlistResource,
Expand Down Expand Up @@ -398,6 +399,10 @@ func defaultConfigureFunc(p *FrameworkProvider, request *provider.ConfigureReque
ddClientConfig.SetUnstableOperationEnabled("v2.UpdateOpenAPI", true)
ddClientConfig.SetUnstableOperationEnabled("v2.GetOpenAPI", true)
ddClientConfig.SetUnstableOperationEnabled("v2.DeleteOpenAPI", true)
ddClientConfig.SetUnstableOperationEnabled("v2.CreateAWSAccount", true)
ddClientConfig.SetUnstableOperationEnabled("v2.UpdateAWSAccount", true)
ddClientConfig.SetUnstableOperationEnabled("v2.DeleteAWSAccount", true)
ddClientConfig.SetUnstableOperationEnabled("v2.GetAWSAccount", true)

if !config.ApiUrl.IsNull() && config.ApiUrl.ValueString() != "" {
parsedAPIURL, parseErr := url.Parse(config.ApiUrl.ValueString())
Expand Down
Loading
Loading