-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAddresses a defect in current functionality.Addresses a defect in current functionality.providerPertains to the provider itself, rather than any interaction with AWS.Pertains to the provider itself, rather than any interaction with AWS.regressionPertains to a degraded workflow resulting from an upstream patch or internal enhancement.Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
Milestone
Description
Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.1
on linux_amd64
- provider registry.terraform.io/hashicorp/aws v3.64.0
- provider registry.terraform.io/hashicorp/vault v2.24.1
Relates #21641
Affected Resource(s)
AWS Provider
Terraform Configuration Files
Sample configuration for AWS Provider that is failing (some values replaced with <value>:
provider "aws" {
alias = "<alias name>"
region = "us-gov-west-1"
assume_role {
role_arn = "<role arn>"
session_name = "<session name>"
}
endpoints {
firehose = "https://firehose-fips.us-gov-west-1.amazonaws.com"
s3 = "https://s3-fips.us-gov-west-1.amazonaws.com"
lambda = "https://lambda-fips.us-gov-west-1.amazonaws.com"
}
}Expected Behavior
terraform plan/apply works with custom AWS Service Endpoints
Actual Behavior
╷
│ Error: Unsupported argument
│
│ on providers.tf line 16, in provider "aws":
│ 16: firehose = "https://firehose-fips.us-gov-west-1.amazonaws.com"
│
│ An argument named "firehose" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on providers.tf line 17, in provider "aws":
│ 17: s3 = "https://s3-fips.us-gov-west-1.amazonaws.com"
│
│ An argument named "s3" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on providers.tf line 18, in provider "aws":
│ 18: lambda = "https://lambda-fips.us-gov-west-1.amazonaws.com"
│
│ An argument named "lambda" is not expected here.
╵
Steps to Reproduce
terraform apply
Important Factoids
References
- #0000
dacevedo12, kamadorueda, drestrepom, rking-77, pmauldin and 3 more
Metadata
Metadata
Assignees
Labels
bugAddresses a defect in current functionality.Addresses a defect in current functionality.providerPertains to the provider itself, rather than any interaction with AWS.Pertains to the provider itself, rather than any interaction with AWS.regressionPertains to a degraded workflow resulting from an upstream patch or internal enhancement.Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.