Skip to content

[Bug]: AWS SNS topics are regional services #33254

Open
@valugi

Description

Terraform Core Version

1.5.6

AWS Provider Version

4.59.0

Affected Resource(s)

aws_sns_topic is a regional service. Topics can be created in specific regions.
Both AWS API, where the request is done to a region endpoint, and CLI, where the region is a parameter, are sensitive to this.
https://docs.aws.amazon.com/sns/latest/api/API_CreateTopic.html
https://docs.aws.amazon.com/cli/latest/reference/sns/create-topic.html

Expected Behavior

We should have the option of choosing the region for the newly created SNS topic.

Actual Behavior

The region is the default, we cannot specify one.

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

NA

Steps to Reproduce

create a new SNS topic

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

Metadata

Assignees

No one assigned

    Labels

    bugAddresses a defect in current functionality.service/snsIssues and PRs that pertain to the sns service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions