Open XnS opened 2 years ago
@XnS Thanks for raising this issue. Which AWS Region are you running in?
Hi @ewbankkit, region is eu-central-1 (Frankfurt)
is this bug confirmed? i seem to be hacing a similar issue in us-west-2
I was able to reproduce this in ca-central-1 using default_tags on the AWS provider object. I have my terraform version set to latest, so the current version as of 2023/05/04. If you attempt to create aws_glue_connection with a provider that includes default_tags, it either fails or sits in "Still creating..." state until cancelled. (edit: This occurs with almost all glue resources)
Workaround:
provider "aws" {
region = var.region
alias = "aws-no-defaults"
}
Then on the aws_glue_connection resource
provider = aws.aws-no-defaults
Hi,
Versions
Issue
Creation of
aws_glue_connection
fails on AWS side iftags
ortags_all
are set.According to AWS Glue Developer Guide and the AWS support Glue connections do not support tags. If AWS provider is configured with
default_tags
these are also applied toaws_glue_connection
which then fails with anInternalFailure
on AWS side.When removing all
tags
related stuff frominternal/service(glue/connection.go
its possible to apply and create theaws_glue_connection
s (really dirty workaround, thus not posted here / added as PR).How to reproduce:
providers.tf
glue.tf
plan:
Possible solution(s):###
aws_glue_connection