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

deprecated resource datadog_integration_aws_lambda_arn not documented as such #2750

Open
rjhornsby opened this issue Jan 3, 2025 · 0 comments
Assignees
Labels

Comments

@rjhornsby
Copy link
Contributor

rjhornsby commented Jan 3, 2025

edit: added additional affected resources to list

Datadog Terraform Provider Version

3.5.0

Terraform Version

1.10.2

What resources or data sources are affected?

This list is under Upgrading from datadog_integration_aws resources

Terraform Configuration Files

n/a

Relevant debug or panic output

Terraform warns datadog_integration_aws_lambda_arn is a deprecated resource, and should be replaced by datadog_integration_aws_account, ie:

│ Warning: Deprecated Resource
│
│   with module.datadog-aws-forwarder-global.datadog_integration_aws_lambda_arn.datadog-forwarder-global,
│   on .terraform/modules/datadog-aws-forwarder-global/dd-forwarder-lambda.tf line 61, in resource "datadog_integration_aws_lambda_arn" "datadog-forwarder-global":
│   61: resource "datadog_integration_aws_lambda_arn" "datadog-forwarder-global" {
│
│ **This resource is deprecated - use the `datadog_integration_aws_account` resource instead**:
│ https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/integration_aws_account

Expected Behavior

The documentation for datadog_integration_aws_lambda_arn should reflect that this resource is deprecated in favor of datadog_integration_aws_account

It is helpful, and very Terraform-like (in the best way) to state this clearly in the TF output just as the DD provider is doing right now. Please don't change that.

It's just the provider documentation that hasn't been updated.

Actual Behavior

The docs for datadog_integration_aws_lambda_arn are silent on the deprecation, and don't refer to the reader to datadog_integration_aws_account

Steps to Reproduce

No response

Important Factoids

No response

References

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants