Is it possible to create a Parameter Store parameter in mutiple region ?

0

I used the below command to create the parameter but it only create in my aws config default region, I want to have the parameter be set in other region as well in the meantime such as on ap-north-east-1, eu-west-1 and so on. Is it possible to do that? aws ssm put-parameter --name "/dev/service-a/secret-key" --type "SecureString" --value "my-super-secret-secret"

RECJ
asked 6 months ago457 views
3 Answers
0

Hello.

Try adding the "--region" option as shown below.

aws ssm put-parameter --name "/dev/service-a/secret-key" --type "SecureString" --value "my-super-secret-secret" --region "ap-northeast-1"
profile picture
EXPERT
answered 6 months ago
  • is the region flag support mutiple region?

  • "--region" cannot specify multiple regions at once. Therefore, you need to run the command for each region you create.

0

Hi,

if you want to replicate the same parameter (name, value) across multiple regions and manage it from a single central region, this article provides all code and CFN templates to achieve it: https://technology.customink.com/blog/2022/01/10/aws-systems-manager-ssm-cross-region-replication/

Best,

Didier

profile pictureAWS
EXPERT
answered 6 months ago
0

Hi,

AWS Systems Manager Parameter Store is hosted in multiple Availability Zones in a single AWS Region, and does not support cross region replication out of the box, so unfortunately you will have to manage it manually.

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions