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
gefragt vor 6 Monaten491 Aufrufe
3 Antworten
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
EXPERTE
beantwortet vor 6 Monaten
  • 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
EXPERTE
beantwortet vor 6 Monaten
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
EXPERTE
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen