diff --git a/a b/a new file mode 100644 index 0000000..e69de29 diff --git a/aws-instance-first-script/Jenkinsfile b/aws-instance-first-script/Jenkinsfile index ddc2dc5..5e7115b 100644 --- a/aws-instance-first-script/Jenkinsfile +++ b/aws-instance-first-script/Jenkinsfile @@ -14,10 +14,7 @@ pipeline { } agent any - options { - timestamps () - ansiColor('xterm') - } + stages { stage('checkout') { steps { diff --git a/aws-instance-first-script/provider.tf b/aws-instance-first-script/provider.tf index a3a39de..4d0df8e 100644 --- a/aws-instance-first-script/provider.tf +++ b/aws-instance-first-script/provider.tf @@ -1,4 +1,3 @@ provider "aws" { region = "${var.region}" - version = "~> 2.0" } diff --git a/aws-instance-first-script/variables.tf b/aws-instance-first-script/variables.tf index ab019a2..4bd3ef2 100644 --- a/aws-instance-first-script/variables.tf +++ b/aws-instance-first-script/variables.tf @@ -3,11 +3,11 @@ variable "region" { } variable "ami_id" { - type = "map" + type = map(string) default = { - us-east-1 = "ami-035b3c7efe6d061d5" - eu-west-2 = "ami-132b3c7efe6sdfdsfd" - eu-central-1 = "ami-9787h5h6nsn" + us-east-1 = "ami-0ed9277fb7eb570c9" + eu-west-2 = "ami-03af6a70ccd8cb578" + eu-central-1 = "ami-05d34d340fb1d89e5" } } diff --git a/b b/b new file mode 100644 index 0000000..e69de29 diff --git a/c b/c new file mode 100644 index 0000000..e69de29 diff --git a/examplefile b/examplefile new file mode 100644 index 0000000..c2f1bc0 --- /dev/null +++ b/examplefile @@ -0,0 +1,2 @@ +this is just an example +as per my ticket adding this line