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

[Bug]: fails to createSNS topic on china due to bad aws partition #1515

Open
1 task done
cnshadzh opened this issue Oct 9, 2024 · 0 comments
Open
1 task done

[Bug]: fails to createSNS topic on china due to bad aws partition #1515

cnshadzh opened this issue Oct 9, 2024 · 0 comments
Labels
bug Something isn't working needs:triage

Comments

@cnshadzh
Copy link

cnshadzh commented Oct 9, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Affected Resource(s)

sns.aws.upbound.io/v1beta1 - Topic

Resource MRs required to reproduce the bug

No response

Steps to Reproduce

apiVersion: sns.aws.upbound.io/v1beta1 kind: Topic metadata: name: xxxxx-dms-events-topic spec: providerConfigRef: name: xxxxx-provider forProvider: region: cn-northwest-1

What happened?

Cannot create topic when set the region as cn-northwest-1, it seems the partition is hard coded as "arn:aws:xxxx" but actually what we want is "arn:aws-cn:xxx"

observe failed: failed to observe the resource: [{0 reading SNS Topic (arn:aws:sns:cn-northwest-1:12345678:xxxxxx-topic): operation error SNS: GetTopicAttributes, https response error StatusCode: 400, RequestID: 3fc47d1c-8f60-545f-b300-229ccd780f65, InvalidParameter: Invalid parameter: TopicArn Reason: A cn-northwest-1 ARN must begin with arn:aws-cn, not arn:aws:sns:cn-northwest-1:12345678:xxxxxxx-topic

Relevant Error Output Snippet

No response

Crossplane Version

1.14.5

Provider Version

1.14.0

Kubernetes Version

1.28

Kubernetes Distribution

EKS

Additional Info

No response

@cnshadzh cnshadzh added bug Something isn't working needs:triage labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs:triage
Projects
None yet
Development

No branches or pull requests

1 participant