state manipulation

This commit is contained in:
Edward Viaene
2020-12-26 14:08:53 +01:00
parent 19f7a902ce
commit 4660281bd5
4 changed files with 21 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# This file is maintained automatically by "terraform init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/aws" {
version = "3.20.0"
hashes = [
"h1:Wk7JYiEIslHQorVPWnofRNYUAjyro6IehY/d/Yfmbr8=",
]
}
+4
View File
@@ -0,0 +1,4 @@
provider "aws" {
region = var.AWS_REGION
}
+5
View File
@@ -0,0 +1,5 @@
resource "aws_ssm_parameter" "myparameter" {
name = "/myapp/myparameter"
type = "String"
value = "myvalue"
}
+3
View File
@@ -0,0 +1,3 @@
variable "AWS_REGION" {
default = "eu-west-1"
}