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

AWS account integration lacking Cloud Cost Management configuration option? #2807

Open
m-franke-tqgg opened this issue Nov 26, 2024 · 0 comments
Labels
kind/feature-request Feature request related issue

Comments

@m-franke-tqgg
Copy link

Is your feature request related to a problem? Please describe.
I had a look into generating the AWS Account Integration feature in the V1 client and learned about the ExtendedResourceCollection, which, when activated, will populate the service catalog and I know how to activate the CSPM feature.

But the third option in the resource collection tab is "Cloud Cost Management", which we currently consider as an option. The problem is I did not see an option in the datadogV1.AWSAccount{} nor in its datadogV2.AWSAccountCreateRequest{} an option for activating this flag.

I found the CloudCostManagement API in the datadogV2 package, but it's still unclear to me how to activate the general feature. Are the two versions of AWS Account API lacking this feature? In this I am unsure if this should be a feature request or a bug report or a support case?

Describe the solution you'd like
A consistent API for creating and managing an AWS account integration, which works like the CSPM as it is grouped in the same configuration object in the web console.

With an option like CloudCostManagementEnabled similar to the CspmResourceCollectionEnabled:

	body := datadogV1.AWSAccount{
		AccountId: datadog.PtrString(accountData.AccountId),
		AccountSpecificNamespaceRules: map[string]bool{
			"auto_scaling": true,
			"sqs":          true,
		},
                CloudCostManagementEnabled: datadog.PtrBool(true),
		CspmResourceCollectionEnabled: datadog.PtrBool(true),
		ExcludedRegions: []string{
			"us-east-1",
		},
		ExtendedResourceCollectionEnabled: datadog.PtrBool(true),
		HostTags: []string{
			awsAccount,
			awsAccountName,
			awsAccountEnv,
		},
		MetricsCollectionEnabled: datadog.PtrBool(true),
		RoleName:                 datadog.PtrString("DatadogIntegrationRole"),
	}

This would create the option to control the feature at the same config level, as I can control all settings for the account integration.

Describe alternatives you've considered
As I haven't found any other option yet to activate the cloud cost management feature, I haven't considered other options.

Additional context
I would like to be able to control the account integrations in a concise and central way.

@m-franke-tqgg m-franke-tqgg added the kind/feature-request Feature request related issue label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature-request Feature request related issue
Projects
None yet
Development

No branches or pull requests

1 participant