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 個月前檢視次數 490 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南