You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have multiple AWS accounts, some in the regular Commercial regions, and some in the Gov Cloud regions. All of my composite resources create as expected in the Commercial regions. As for the ones in the Gov Cloud regions, I am seeing issues where certain AWS resources aren't able to create due to improper partition ids. In this example, I am attempting to create a SNS topic which will alert for relative issues. I am providing my provider and controller configs below.
How can we reproduce it?
Original provider configuration (before any attempts to troubleshoot):
When I run the controller with DEBUG enabled, I see the follow error during SNS topic creation in Gov Cloud:
2023-08-08T17:00:42Z DEBUG events cannot run refresh: refresh failed: reading SNS Topic (arn:aws:sns:us-gov-east-1:REDACTED:REDACTED-notifications-topic): InvalidParameter: Invalid parameter: TopicArn Reason: A us-gov-east-1 ARN must begin with arn:aws-us-gov, not arn:aws:sns:us-gov-east-1:REDACTED:REDACTED-notifications-topic
So from the logs above, it's clear that the provider is trying to use an unsupported ARN in Gov Cloud due to the incorrect partition id. I'd like to know if there is a way to configure that partition id or is this something the developers need to change to properly support Gov Cloud?
What happened?
I have multiple AWS accounts, some in the regular
Commercial
regions, and some in theGov Cloud
regions. All of my composite resources create as expected in theCommercial
regions. As for the ones in theGov Cloud
regions, I am seeing issues where certain AWS resources aren't able to create due to improper partition ids. In this example, I am attempting to create a SNS topic which will alert for relative issues. I am providing my provider and controller configs below.How can we reproduce it?
Original provider configuration (before any attempts to troubleshoot):
An updated provider configuration (after trying to troubleshoot):
Here is my current ControllerConfig. Notice: I added the env variables for AWS_REGION and AWS_DEFAULT_REGION as recommend by other related issues.
When I run the controller with DEBUG enabled, I see the follow error during SNS topic creation in Gov Cloud:
So from the logs above, it's clear that the provider is trying to use an unsupported ARN in Gov Cloud due to the incorrect partition id. I'd like to know if there is a way to configure that partition id or is this something the developers need to change to properly support Gov Cloud?
Thanks.
What environment did it happen in?
Environment: AWS GovCloud
US-GOV-EAST-1
Crossplane version:
1.13.1
Provider version:
v0.37.0
The text was updated successfully, but these errors were encountered: