You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Missing Attribute Configuration
│
│ with module.datadog-aws-forwarder-global.datadog_integration_aws_account.my-aws-datadog,
│ on .terraform/modules/datadog-aws-forwarder-global/dd-forwarder-lambda.tf line 66, in resource "datadog_integration_aws_account" "my-aws-datadog":
│ 66: resource "datadog_integration_aws_account" "my-aws-datadog" {
│
│ Exactly one of these attributes must be configured: [aws_regions]
╵
╷
│ Error: Missing Attribute Configuration
│
│ with module.datadog-aws-forwarder-global.datadog_integration_aws_account.my-aws-datadog,
│ on .terraform/modules/datadog-aws-forwarder-global/dd-forwarder-lambda.tf line 66, in resource "datadog_integration_aws_account" "my-aws-datadog":
│ 66: resource "datadog_integration_aws_account" "my-aws-datadog" {
│
│ Exactly one of these attributes must be configured: [metrics_config.namespace_filters]
╵
╷
│ Error: Missing Attribute Configuration
│
│ with module.datadog-aws-forwarder-global.datadog_integration_aws_account.my-aws-datadog,
│ on .terraform/modules/datadog-aws-forwarder-global/dd-forwarder-lambda.tf line 66, in resource "datadog_integration_aws_account" "my-aws-datadog":
│ 66: resource "datadog_integration_aws_account" "my-aws-datadog" {
│
│ Exactly one of these attributes must be configured: [traces_config.xray_services]
Expected Behavior
The "missing attribute configuration" errors should not be present, since these attrs are listed in the documentation as optional.
aws_regions
metrics_config.namespace_filters
traces_config.xray_services
Actual Behavior
If not explicitly declared in the TF code, the provider throws an error saying that these are required:
aws_regions
metrics_config.namespace_filters
traces_config.xray_services
Steps to Reproduce
terraform plan
Important Factoids
We're not doing anything special, just trying to migrate from the deprecated datadog_integration_aws_lambda_arn
Datadog Terraform Provider Version
v3.50.0
Terraform Version
v1.10.2
What resources or data sources are affected?
Terraform Configuration Files
Relevant debug or panic output
Expected Behavior
The "missing attribute configuration" errors should not be present, since these attrs are listed in the documentation as optional.
Actual Behavior
If not explicitly declared in the TF code, the provider throws an error saying that these are required:
Steps to Reproduce
terraform plan
Important Factoids
We're not doing anything special, just trying to migrate from the deprecated
datadog_integration_aws_lambda_arn
References
GH-2750
The text was updated successfully, but these errors were encountered: