-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tf
41 lines (34 loc) · 1.01 KB
/
main.tf
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
35
36
37
38
39
40
41
provider "aws" {
region = "us-west-2"
}
terraform {
backend "s3" {
bucket = "ab-18-07-2024-terraformer-state-test-1"
key = "terraform.tfstate"
region = "us-west-2"
}
}
resource "aws_ssm_parameter" "ab_18_07_2024_terraformer_test_1" {
name = "ab_18_07_2024_terraformer_test_1"
type = "String"
value = "This is a test parameter"
}
resource "aws_ssm_parameter" "ab_18_07_2024_terraformer_test_2" {
name = "ab_18_07_2024_terraformer_test_2"
type = "String"
value = "This is a test parameter"
}
resource "aws_ssm_parameter" "ab_18_07_2024_terraformer_test_3" {
name = "ab_18_07_2024_terraformer_test_3"
type = "String"
value = "This is a test parameter"
}
output "ab_18_07_2024_terraformer_test_1" {
value = aws_ssm_parameter.ab_18_07_2024_terraformer_test_1.arn
}
output "ab_18_07_2024_terraformer_test_2" {
value = aws_ssm_parameter.ab_18_07_2024_terraformer_test_2.arn
}
output "ab_18_07_2024_terraformer_test_3" {
value = aws_ssm_parameter.ab_18_07_2024_terraformer_test_3.arn
}