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 Provider Endpoints not working on 3.64.1 #21646

Closed
gombosg opened this issue Nov 5, 2021 · 12 comments · Fixed by #21657
Closed

AWS Provider Endpoints not working on 3.64.1 #21646

gombosg opened this issue Nov 5, 2021 · 12 comments · Fixed by #21657
Assignees
Labels
bug Addresses a defect in current functionality. provider Pertains to the provider itself, rather than any interaction with AWS. regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
Milestone

Comments

@gombosg
Copy link

gombosg commented Nov 5, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform AWS Provider Version

Terraform v1.0.10
on linux_amd64

  • provider registry.terraform.io/hashicorp/aws v3.64.1

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.

provider "aws" {
  access_key                  = "localstack-key"
  region                      = "us-west-2"
  s3_force_path_style         = true
  secret_key                  = "localstack-key"
  skip_credentials_validation = true
  skip_metadata_api_check     = true
  skip_requesting_account_id  = true

  endpoints {
    apigateway     = "http://localhost:4566"
    cloudformation = "http://localhost:4566"
    cloudwatch     = "http://localhost:4566"
    dynamodb       = "http://localhost:4566"
    es             = "http://localhost:4566"
    firehose       = "http://localhost:4566"
    iam            = "http://localhost:4566"
    kinesis        = "http://localhost:4566"
    lambda         = "http://localhost:4566"
    route53        = "http://localhost:4566"
    redshift       = "http://localhost:4566"
    s3             = "http://localhost:4566"
    secretsmanager = "http://localhost:4566"
    ses            = "http://localhost:4566"
    sns            = "http://localhost:4566"
    sqs            = "http://localhost:4566"
    ssm            = "http://localhost:4566"
    stepfunctions  = "http://localhost:4566"
    sts            = "http://localhost:4566"
  }
}

Debug Output

https://gist.github.com/gombosg/4b39279cced18b0f60fc1a16e33cf96f

Expected Behavior

Works

Actual Behavior

Error

Steps to Reproduce

  1. terraform validate

Important Factoids

Works in 3.63.0.

References

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Nov 5, 2021
@ewbankkit
Copy link
Contributor

╷
│ Error: Unsupported argument
│ 
│   on localstack.tf line 27, in provider "aws":
│   27:     es             = "http://localhost:4566"
│ 
│ An argument named "es" is not expected here. Did you mean "fsx"?
╵
╷
│ Error: Unsupported argument
│ 
│   on localstack.tf line 40, in provider "aws":
│   40:     stepfunctions  = "http://localhost:4566"
│ 
│ An argument named "stepfunctions" is not expected here.
╵

@ewbankkit ewbankkit added bug Addresses a defect in current functionality. provider Pertains to the provider itself, rather than any interaction with AWS. regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement. and removed needs-triage Waiting for first response or review from a maintainer. labels Nov 5, 2021
@ewbankkit
Copy link
Contributor

ewbankkit commented Nov 5, 2021

This is the prior to #20000 / #21306 (v3.63.0 and earlier) set of attribute names for the provider's endpoints configuration block:

endpointServiceNames = []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",
}

and this is the new (v3.64.1 and later) set:

const (
AccessAnalyzer = "accessanalyzer"
ACM = "acm"
ACMPCA = "acmpca"
AlexaForBusiness = "alexaforbusiness"
Amplify = "amplify"
AmplifyBackend = "amplifybackend"
APIGateway = "apigateway"
APIGatewayV2 = "apigatewayv2"
AppAutoScaling = "appautoscaling"
AppConfig = "appconfig"
AppFlow = "appflow"
AppIntegrations = "appintegrations"
ApplicationCostProfiler = "applicationcostprofiler"
ApplicationDiscovery = "applicationdiscovery"
ApplicationInsights = "applicationinsights"
AppMesh = "appmesh"
AppRegistry = "appregistry"
AppRunner = "apprunner"
AppStream = "appstream"
AppSync = "appsync"
Athena = "athena"
AuditManager = "auditmanager"
AugmentedAIRuntime = "augmentedairuntime"
AutoScaling = "autoscaling"
AutoScalingPlans = "autoscalingplans"
Backup = "backup"
Batch = "batch"
Braket = "braket"
Budgets = "budgets"
Chime = "chime"
Cloud9 = "cloud9"
CloudControl = "cloudcontrol"
CloudDirectory = "clouddirectory"
CloudFormation = "cloudformation"
CloudFront = "cloudfront"
CloudHSM = "cloudhsm"
CloudHSMV2 = "cloudhsmv2"
CloudSearch = "cloudsearch"
CloudSearchDomain = "cloudsearchdomain"
CloudTrail = "cloudtrail"
CloudWatch = "cloudwatch"
CloudWatchEvents = "cloudwatchevents"
CloudWatchLogs = "cloudwatchlogs"
CodeArtifact = "codeartifact"
CodeBuild = "codebuild"
CodeCommit = "codecommit"
CodeDeploy = "codedeploy"
CodeGuruProfiler = "codeguruprofiler"
CodeGuruReviewer = "codegurureviewer"
CodePipeline = "codepipeline"
CodeStar = "codestar"
CodeStarConnections = "codestarconnections"
CodeStarNotifications = "codestarnotifications"
CognitoIdentity = "cognitoidentity"
CognitoIDP = "cognitoidp"
CognitoSync = "cognitosync"
Comprehend = "comprehend"
ComprehendMedical = "comprehendmedical"
ComputeOptimizer = "computeoptimizer"
ConfigService = "config"
Connect = "connect"
ConnectContactLens = "connectcontactlens"
ConnectParticipant = "connectparticipant"
CostExplorer = "costexplorer"
CUR = "cur"
CustomerProfiles = "customerprofiles"
DataExchange = "dataexchange"
DataPipeline = "datapipeline"
DataSync = "datasync"
DAX = "dax"
Detective = "detective"
DeviceFarm = "devicefarm"
DevOpsGuru = "devopsguru"
DirectConnect = "directconnect"
DLM = "dlm"
DMS = "dms"
DocDB = "docdb"
DS = "ds"
DynamoDB = "dynamodb"
DynamoDBStreams = "dynamodbstreams"
EC2 = "ec2"
EC2InstanceConnect = "ec2instanceconnect"
ECR = "ecr"
ECRPublic = "ecrpublic"
ECS = "ecs"
EFS = "efs"
EKS = "eks"
ElastiCache = "elasticache"
ElasticBeanstalk = "elasticbeanstalk"
ElasticInference = "elasticinference"
Elasticsearch = "elasticsearch"
ElasticTranscoder = "elastictranscoder"
ELB = "elb"
ELBV2 = "elbv2"
EMR = "emr"
EMRContainers = "emrcontainers"
FinSpace = "finspace"
FinSpaceData = "finspacedata"
Firehose = "firehose"
FIS = "fis"
FMS = "fms"
Forecast = "forecast"
ForecastQuery = "forecastquery"
FraudDetector = "frauddetector"
FSx = "fsx"
GameLift = "gamelift"
Glacier = "glacier"
GlobalAccelerator = "globalaccelerator"
Glue = "glue"
GlueDataBrew = "gluedatabrew"
Greengrass = "greengrass"
GreengrassV2 = "greengrassv2"
GroundStation = "groundstation"
GuardDuty = "guardduty"
Health = "health"
HealthLake = "healthlake"
Honeycode = "honeycode"
IAM = "iam"
IdentityStore = "identitystore"
ImageBuilder = "imagebuilder"
Inspector = "inspector"
IoT = "iot"
IoT1ClickDevices = "iot1clickdevices"
IoT1ClickProjects = "iot1clickprojects"
IoTAnalytics = "iotanalytics"
IoTDataPlane = "iotdataplane"
IoTDeviceAdvisor = "iotdeviceadvisor"
IoTEvents = "iotevents"
IoTEventsData = "ioteventsdata"
IoTFleetHub = "iotfleethub"
IoTJobsDataPlane = "iotjobsdataplane"
IoTSecureTunneling = "iotsecuretunneling"
IoTSiteWise = "iotsitewise"
IoTThingsGraph = "iotthingsgraph"
IoTWireless = "iotwireless"
IVS = "ivs"
Kafka = "kafka"
Kendra = "kendra"
Kinesis = "kinesis"
KinesisAnalytics = "kinesisanalytics"
KinesisAnalyticsV2 = "kinesisanalyticsv2"
KinesisVideo = "kinesisvideo"
KinesisVideoArchivedMedia = "kinesisvideoarchivedmedia"
KinesisVideoMedia = "kinesisvideomedia"
KinesisVideoSignalingChannels = "kinesisvideosignalingchannels"
KMS = "kms"
LakeFormation = "lakeformation"
Lambda = "lambda"
LexModelBuilding = "lexmodelbuilding"
LexModelsV2 = "lexmodelsv2"
LexRuntime = "lexruntime"
LexRuntimeV2 = "lexruntimev2"
LicenseManager = "licensemanager"
Lightsail = "lightsail"
Location = "location"
LookoutEquipment = "lookoutequipment"
LookoutForVision = "lookoutforvision"
LookoutMetrics = "lookoutmetrics"
MachineLearning = "machinelearning"
Macie = "macie"
Macie2 = "macie2"
ManagedBlockchain = "managedblockchain"
MarketplaceCatalog = "marketplacecatalog"
MarketplaceCommerceAnalytics = "marketplacecommerceanalytics"
MarketplaceEntitlement = "marketplaceentitlement"
MarketplaceMetering = "marketplacemetering"
MediaConnect = "mediaconnect"
MediaConvert = "mediaconvert"
MediaLive = "medialive"
MediaPackage = "mediapackage"
MediaPackageVOD = "mediapackagevod"
MediaStore = "mediastore"
MediaStoreData = "mediastoredata"
MediaTailor = "mediatailor"
MemoryDB = "memorydb"
Mgn = "mgn"
MigrationHub = "migrationhub"
MigrationHubConfig = "migrationhubconfig"
Mobile = "mobile"
MobileAnalytics = "mobileanalytics"
MQ = "mq"
MTurk = "mturk"
MWAA = "mwaa"
Neptune = "neptune"
NetworkFirewall = "networkfirewall"
NetworkManager = "networkmanager"
NimbleStudio = "nimblestudio"
OpsWorks = "opsworks"
OpsWorksCM = "opsworkscm"
Organizations = "organizations"
Outposts = "outposts"
Personalize = "personalize"
PersonalizeEvents = "personalizeevents"
PersonalizeRuntime = "personalizeruntime"
PI = "pi"
Pinpoint = "pinpoint"
PinpointEmail = "pinpointemail"
PinpointSMSVoice = "pinpointsmsvoice"
Polly = "polly"
Pricing = "pricing"
Prometheus = "prometheus"
Proton = "proton"
QLDB = "qldb"
QLDBSession = "qldbsession"
QuickSight = "quicksight"
RAM = "ram"
RDS = "rds"
RDSData = "rdsdata"
Redshift = "redshift"
RedshiftData = "redshiftdata"
Rekognition = "rekognition"
ResourceGroups = "resourcegroups"
ResourceGroupsTagging = "resourcegroupstagging"
RoboMaker = "robomaker"
Route53 = "route53"
Route53Domains = "route53domains"
Route53RecoveryControlConfig = "route53recoverycontrolconfig"
Route53RecoveryReadiness = "route53recoveryreadiness"
Route53Resolver = "route53resolver"
S3 = "s3"
S3Control = "s3control"
S3Outposts = "s3outposts"
SageMaker = "sagemaker"
SageMakerEdgeManager = "sagemakeredgemanager"
SageMakerFeatureStoreRuntime = "sagemakerfeaturestoreruntime"
SageMakerRuntime = "sagemakerruntime"
SavingsPlans = "savingsplans"
Schemas = "schemas"
SecretsManager = "secretsmanager"
SecurityHub = "securityhub"
ServerlessAppRepo = "serverlessapprepo"
ServiceCatalog = "servicecatalog"
ServiceDiscovery = "servicediscovery"
ServiceQuotas = "servicequotas"
SES = "ses"
SESV2 = "sesv2"
SFN = "sfn"
Shield = "shield"
Signer = "signer"
SimpleDB = "simpledb"
SMS = "sms"
Snowball = "snowball"
SNS = "sns"
SQS = "sqs"
SSM = "ssm"
SSMContacts = "ssmcontacts"
SSMIncidents = "ssmincidents"
SSO = "sso"
SSOAdmin = "ssoadmin"
SSOOIDC = "ssooidc"
StorageGateway = "storagegateway"
STS = "sts"
Support = "support"
SWF = "swf"
Synthetics = "synthetics"
Textract = "textract"
TimestreamQuery = "timestreamquery"
TimestreamWrite = "timestreamwrite"
Transcribe = "transcribe"
TranscribeStreaming = "transcribestreaming"
Transfer = "transfer"
Translate = "translate"
WAF = "waf"
WAFRegional = "wafregional"
WAFV2 = "wafv2"
WellArchitected = "wellarchitected"
WorkDocs = "workdocs"
WorkLink = "worklink"
WorkMail = "workmail"
WorkMailMessageFlow = "workmailmessageflow"
WorkSpaces = "workspaces"
XRay = "xray"
)

Although the documentation lists alternatives for some services (e.g. es or stepfunctions), we are only creating attribute names for the canonical name of the service.

@gombosg
Copy link
Author

gombosg commented Nov 5, 2021

Thanks! Is this a bug or intended functionality (i.e. a breaking config change)?

@ewbankkit
Copy link
Contributor

@gombosg Definitely a bug - we only (intend to) make breaking changes at a major version and v4.0.0 is scheduled for later this year. Even then we would have to go through a deprecation cycle before removing such significant attributes.

@ewbankkit
Copy link
Contributor

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)
		}
	}
}
"applicationautoscaling" not found in new endpoint list
"cloudcontrolapi" not found in new endpoint list
"configservice" not found in new endpoint list
"es" not found in new endpoint list
"lexmodels" not found in new endpoint list
"resourcegroupstaggingapi" not found in new endpoint list
"sdb" not found in new endpoint list
"serverlessrepo" not found in new endpoint list
"stepfunctions" not found in new endpoint list

@YakDriver YakDriver self-assigned this Nov 5, 2021
@YakDriver
Copy link
Member

YakDriver commented Nov 5, 2021

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.

@lorengordon
Copy link
Contributor

🤞 hoping for a patch release for this one!

@github-actions github-actions bot added this to the v3.65.0 milestone Nov 5, 2021
@YakDriver YakDriver modified the milestones: v3.65.0, v3.64.2 Nov 5, 2021
@YakDriver
Copy link
Member

We apologize for this inconvenience! A point release has been approved.

@github-actions
Copy link

github-actions bot commented Nov 5, 2021

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!

@gombosg
Copy link
Author

gombosg commented Nov 6, 2021

New version 3.64.2 works fine, thank you so much for fixing this so fast! 🚀

@YakDriver
Copy link
Member

@gombosg Thank you for reporting back!

@github-actions
Copy link

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. provider Pertains to the provider itself, rather than any interaction with AWS. regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants