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
已提问 6 个月前491 查看次数
3 回答
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
专家
已回答 6 个月前
  • 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
专家
已回答 6 个月前
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
专家
已回答 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则