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

Katie.mckew/awsmc 1070 aws v2 terraform provider #2540

Draft
wants to merge 31 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6eb1f67
add framework generator
skarimo Aug 7, 2023
1de97bd
fix state setting and oneOf model
skarimo Aug 7, 2023
50dded8
Merge remote-tracking branch 'origin/master' into sherz/fw-provider
ktmq Aug 14, 2024
1609be7
Merge remote-tracking branch 'origin/master' into sherz/fw-provider
ktmq Aug 21, 2024
5b7cbc8
Generated
ktmq Aug 21, 2024
1cd4b2b
Fix compile errors
ktmq Aug 22, 2024
8d76830
Unblock tests
ktmq Aug 22, 2024
8f9a749
Unblock tests again
ktmq Aug 22, 2024
8d7beb6
Merge remote-tracking branch 'origin/master' into katie.mckew/awsmc-1…
ktmq Aug 22, 2024
261f794
WIP - get tests working
ktmq Aug 22, 2024
6e2abfb
Use account ID instead of UUID
ktmq Aug 23, 2024
ca44a91
Tests WORK
ktmq Aug 23, 2024
4923917
Tests breaking with empty logs_config
ktmq Aug 27, 2024
7b35fd2
Go client
ktmq Aug 27, 2024
b2f7ecc
Revert "fix state setting and oneOf model"
ktmq Aug 27, 2024
2e8e31e
Revert "add framework generator"
ktmq Aug 27, 2024
c9ca477
temp fix to resolve unrelated error
ktmq Aug 27, 2024
8241cde
Reset temp workaround
ktmq Aug 27, 2024
4a303bf
Make lambda and sources required, and handle empty list
ktmq Aug 28, 2024
0d0fff0
Handle nullable AccountTags
ktmq Aug 29, 2024
0e089ca
Make logs_config block optional again, handle when unset
ktmq Aug 29, 2024
018e627
Handle updates where logs_config is removed from tf config
ktmq Aug 29, 2024
4b222a4
Disallow empty list for lambdas and sources
ktmq Aug 29, 2024
8c5462f
Add conflict validator
ktmq Aug 30, 2024
77456ff
Add more validators; still fixing trace_config
ktmq Aug 30, 2024
a1aaebe
Refactor
ktmq Oct 16, 2024
bb51d45
Update go client
ktmq Oct 16, 2024
14a3c54
Merge remote-tracking branch 'origin/master' into katie.mckew/awsmc-1…
ktmq Oct 16, 2024
d9cc592
Fix api instances
ktmq Oct 17, 2024
f8d5fc8
Fix fw
ktmq Oct 17, 2024
569c872
Use uuid in paths, update tests
ktmq Oct 18, 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,
NewAwsAccountV2Resource,
NewCatalogEntityResource,
NewDashboardListResource,
NewDowntimeScheduleResource,
Expand Down Expand Up @@ -395,6 +396,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