Open suvaanshkumar opened 1 month ago
This works if you set the external-name annotation:
apiVersion: dynamodb.aws.upbound.io/v1beta1
kind: Table
metadata:
name: example
annotations:
crossplane.io/external-name: specialTable.WithMoreChars99
I think this is really a K8s limitation rather then a Crossplane one https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names I would recommend going with the external-name approach.
Is there an existing issue for this?
Affected Resource(s)
tables.dynamodb.aws.upbound.io/v1beta1
Resource MRs required to reproduce the bug
apiVersion: dynamodb.aws.upbound.io/v1beta1 kind: Table metadata: annotations: meta.upbound.io/example-id: dynamodb/v1beta1/table name: abc-Def spec: forProvider: attribute:
Steps to Reproduce
What happened?
We were able to create an actual DynamoDB table with the name having capital letters on aws using terraform but we are unable to create using upbound provider.
Relevant Error Output Snippet
Crossplane Version
1.15.0
Provider Version
v1.3.1
Kubernetes Version
v1.28.3
Kubernetes Distribution
EKS
Additional Info
We are expecting to be able to create a DynamoDBtable with a name that contains the capital letters as we are able to create it on aws. Probably another field like
spec.name
would be useful.