mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 03:01:53 +03:00
state manipulation
This commit is contained in:
+9
@@ -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=",
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
provider "aws" {
|
||||
region = var.AWS_REGION
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
resource "aws_ssm_parameter" "myparameter" {
|
||||
name = "/myapp/myparameter"
|
||||
type = "String"
|
||||
value = "myvalue"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
variable "AWS_REGION" {
|
||||
default = "eu-west-1"
|
||||
}
|
||||
Reference in New Issue
Block a user