-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
35 lines (28 loc) · 975 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
// Create a new SSM Parameter
const parameter = new aws.ssm.Parameter("example-parameter", {
name: "/my/parameter/path",
type: "String",
value: "my-parameter-value",
description: "Example SSM parameter", // Optional
tier: "Standard", // Optional: Standard (default) or Advanced
tags: { // Optional
Environment: "dev",
Project: "example"
},
});
const parameter2 = new aws.ssm.Parameter("example-parameter2", {
name: "/my/parameter/path2",
type: "String",
value: "my-parameter-value2",
description: "Example SSM parameter2", // Optional
tier: "Standard", // Optional: Standard (default) or Advanced
tags: { // Optional
Environment: "dev",
Project: "example"
},
});
// Export the parameter ARN and name for reference
export const parameterArn = parameter.arn;
export const parameterName = parameter.name;