-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 Provider Endpoints not working on 3.64.1 #21646
Comments
|
This is the prior to #20000 / #21306 (v3.63.0 and earlier) set of attribute names for the provider's terraform-provider-aws/aws/provider.go Lines 1375 to 1538 in fce7062
and this is the new (v3.64.1 and later) set: terraform-provider-aws/internal/conns/conns.go Lines 288 to 561 in 77bad27
Although the documentation lists alternatives for some services (e.g. |
Thanks! Is this a bug or intended functionality (i.e. a breaking config change)? |
package main
import (
"fmt"
)
func main() {
old := []string{
"accessanalyzer",
"acm",
"acmpca",
"amplify",
"apigateway",
"appconfig",
"applicationautoscaling",
"applicationinsights",
"appmesh",
"apprunner",
"appstream",
"appsync",
"athena",
"auditmanager",
"autoscaling",
"autoscalingplans",
"backup",
"batch",
"budgets",
"chime",
"cloud9",
"cloudcontrolapi",
"cloudformation",
"cloudfront",
"cloudhsm",
"cloudsearch",
"cloudtrail",
"cloudwatch",
"cloudwatchevents",
"cloudwatchlogs",
"codeartifact",
"codebuild",
"codecommit",
"codedeploy",
"codepipeline",
"codestarconnections",
"cognitoidentity",
"cognitoidp",
"configservice",
"connect",
"cur",
"dataexchange",
"datapipeline",
"datasync",
"dax",
"detective",
"devicefarm",
"directconnect",
"dlm",
"dms",
"docdb",
"ds",
"dynamodb",
"ec2",
"ecr",
"ecrpublic",
"ecs",
"efs",
"eks",
"elasticache",
"elasticbeanstalk",
"elastictranscoder",
"elb",
"emr",
"emrcontainers",
"es",
"firehose",
"fms",
"forecast",
"fsx",
"gamelift",
"glacier",
"globalaccelerator",
"glue",
"greengrass",
"guardduty",
"iam",
"identitystore",
"imagebuilder",
"inspector",
"iot",
"iotanalytics",
"iotevents",
"kafka",
"kinesis",
"kinesisanalytics",
"kinesisanalyticsv2",
"kinesisvideo",
"kms",
"lakeformation",
"lambda",
"lexmodels",
"licensemanager",
"lightsail",
"location",
"macie",
"macie2",
"managedblockchain",
"marketplacecatalog",
"mediaconnect",
"mediaconvert",
"medialive",
"mediapackage",
"mediastore",
"mediastoredata",
"memorydb",
"mq",
"mwaa",
"neptune",
"networkfirewall",
"networkmanager",
"opsworks",
"organizations",
"outposts",
"personalize",
"pinpoint",
"pricing",
"qldb",
"quicksight",
"ram",
"rds",
"redshift",
"resourcegroups",
"resourcegroupstaggingapi",
"route53",
"route53domains",
"route53recoverycontrolconfig",
"route53recoveryreadiness",
"route53resolver",
"s3",
"s3control",
"s3outposts",
"sagemaker",
"schemas",
"sdb",
"secretsmanager",
"securityhub",
"serverlessrepo",
"servicecatalog",
"servicediscovery",
"servicequotas",
"ses",
"shield",
"signer",
"sns",
"sqs",
"ssm",
"ssoadmin",
"stepfunctions",
"storagegateway",
"sts",
"swf",
"synthetics",
"timestreamwrite",
"transfer",
"waf",
"wafregional",
"wafv2",
"worklink",
"workmail",
"workspaces",
"xray",
}
new := []string{
"accessanalyzer",
"acm",
"acmpca",
"alexaforbusiness",
"amplify",
"amplifybackend",
"apigateway",
"apigatewayv2",
"appautoscaling",
"appconfig",
"appflow",
"appintegrations",
"applicationcostprofiler",
"applicationdiscovery",
"applicationinsights",
"appmesh",
"appregistry",
"apprunner",
"appstream",
"appsync",
"athena",
"auditmanager",
"augmentedairuntime",
"autoscaling",
"autoscalingplans",
"backup",
"batch",
"braket",
"budgets",
"chime",
"cloud9",
"cloudcontrol",
"clouddirectory",
"cloudformation",
"cloudfront",
"cloudhsm",
"cloudhsmv2",
"cloudsearch",
"cloudsearchdomain",
"cloudtrail",
"cloudwatch",
"cloudwatchevents",
"cloudwatchlogs",
"codeartifact",
"codebuild",
"codecommit",
"codedeploy",
"codeguruprofiler",
"codegurureviewer",
"codepipeline",
"codestar",
"codestarconnections",
"codestarnotifications",
"cognitoidentity",
"cognitoidp",
"cognitosync",
"comprehend",
"comprehendmedical",
"computeoptimizer",
"config",
"connect",
"connectcontactlens",
"connectparticipant",
"costexplorer",
"cur",
"customerprofiles",
"dataexchange",
"datapipeline",
"datasync",
"dax",
"detective",
"devicefarm",
"devopsguru",
"directconnect",
"dlm",
"dms",
"docdb",
"ds",
"dynamodb",
"dynamodbstreams",
"ec2",
"ec2instanceconnect",
"ecr",
"ecrpublic",
"ecs",
"efs",
"eks",
"elasticache",
"elasticbeanstalk",
"elasticinference",
"elasticsearch",
"elastictranscoder",
"elb",
"elbv2",
"emr",
"emrcontainers",
"finspace",
"finspacedata",
"firehose",
"fis",
"fms",
"forecast",
"forecastquery",
"frauddetector",
"fsx",
"gamelift",
"glacier",
"globalaccelerator",
"glue",
"gluedatabrew",
"greengrass",
"greengrassv2",
"groundstation",
"guardduty",
"health",
"healthlake",
"honeycode",
"iam",
"identitystore",
"imagebuilder",
"inspector",
"iot",
"iot1clickdevices",
"iot1clickprojects",
"iotanalytics",
"iotdataplane",
"iotdeviceadvisor",
"iotevents",
"ioteventsdata",
"iotfleethub",
"iotjobsdataplane",
"iotsecuretunneling",
"iotsitewise",
"iotthingsgraph",
"iotwireless",
"ivs",
"kafka",
"kendra",
"kinesis",
"kinesisanalytics",
"kinesisanalyticsv2",
"kinesisvideo",
"kinesisvideoarchivedmedia",
"kinesisvideomedia",
"kinesisvideosignalingchannels",
"kms",
"lakeformation",
"lambda",
"lexmodelbuilding",
"lexmodelsv2",
"lexruntime",
"lexruntimev2",
"licensemanager",
"lightsail",
"location",
"lookoutequipment",
"lookoutforvision",
"lookoutmetrics",
"machinelearning",
"macie",
"macie2",
"managedblockchain",
"marketplacecatalog",
"marketplacecommerceanalytics",
"marketplaceentitlement",
"marketplacemetering",
"mediaconnect",
"mediaconvert",
"medialive",
"mediapackage",
"mediapackagevod",
"mediastore",
"mediastoredata",
"mediatailor",
"memorydb",
"mgn",
"migrationhub",
"migrationhubconfig",
"mobile",
"mobileanalytics",
"mq",
"mturk",
"mwaa",
"neptune",
"networkfirewall",
"networkmanager",
"nimblestudio",
"opsworks",
"opsworkscm",
"organizations",
"outposts",
"personalize",
"personalizeevents",
"personalizeruntime",
"pi",
"pinpoint",
"pinpointemail",
"pinpointsmsvoice",
"polly",
"pricing",
"prometheus",
"proton",
"qldb",
"qldbsession",
"quicksight",
"ram",
"rds",
"rdsdata",
"redshift",
"redshiftdata",
"rekognition",
"resourcegroups",
"resourcegroupstagging",
"robomaker",
"route53",
"route53domains",
"route53recoverycontrolconfig",
"route53recoveryreadiness",
"route53resolver",
"s3",
"s3control",
"s3outposts",
"sagemaker",
"sagemakeredgemanager",
"sagemakerfeaturestoreruntime",
"sagemakerruntime",
"savingsplans",
"schemas",
"secretsmanager",
"securityhub",
"serverlessapprepo",
"servicecatalog",
"servicediscovery",
"servicequotas",
"ses",
"sesv2",
"sfn",
"shield",
"signer",
"simpledb",
"sms",
"snowball",
"sns",
"sqs",
"ssm",
"ssmcontacts",
"ssmincidents",
"sso",
"ssoadmin",
"ssooidc",
"storagegateway",
"sts",
"support",
"swf",
"synthetics",
"textract",
"timestreamquery",
"timestreamwrite",
"transcribe",
"transcribestreaming",
"transfer",
"translate",
"waf",
"wafregional",
"wafv2",
"wellarchitected",
"workdocs",
"worklink",
"workmail",
"workmailmessageflow",
"workspaces",
"xray",
}
for _, o := range old {
found := false
for _, n := range new {
if o == n {
found = true
break
}
}
if !found {
fmt.Printf("%q not found in new endpoint list\n", o)
}
}
}
|
This should only affect the subset of endpoints whose HCL "key" differs from the service package name. However, it is a bug and I'm working on a fix now. |
🤞 hoping for a patch release for this one! |
We apologize for this inconvenience! A point release has been approved. |
This functionality has been released in v3.64.2 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
New version |
@gombosg Thank you for reporting back! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.10
on linux_amd64
Affected Resource(s)
aws
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
https://gist.github.com/gombosg/4b39279cced18b0f60fc1a16e33cf96f
Expected Behavior
Works
Actual Behavior
Error
Steps to Reproduce
terraform validate
Important Factoids
Works in
3.63.0
.References
The text was updated successfully, but these errors were encountered: