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ヶ月前489ビュー
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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ