Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Myfirst #47

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added a
Empty file.
5 changes: 1 addition & 4 deletions aws-instance-first-script/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ pipeline {
}

agent any
options {
timestamps ()
ansiColor('xterm')
}

stages {
stage('checkout') {
steps {
Expand Down
1 change: 0 additions & 1 deletion aws-instance-first-script/provider.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
provider "aws" {
region = "${var.region}"
version = "~> 2.0"
}
8 changes: 4 additions & 4 deletions aws-instance-first-script/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Empty file added b
Empty file.
Empty file added c
Empty file.
2 changes: 2 additions & 0 deletions examplefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
this is just an example
as per my ticket adding this line