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

my own code #6

Open
wants to merge 21 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
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ pipeline {
stages {
stage('Submit Stack') {
steps {
sh "aws cloudformation create-stack --stack-name s3bucket --template-body file://simplests3cft.json --region 'us-east-1'"
sh "aws cloudformation create-stack --stack-name infosys-auto-hyd-stack --template-body file://s3cft.yml --region 'ap-south-1'"
}
}
}
}
}
2 changes: 1 addition & 1 deletion s3cft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Resources:
Outputs:
BucketName:
Value: !Ref 'S3Bucket'
Description: Name of the sample Amazon S3 bucket.
Description: Name of the sample Amazon S3 bucket.
4 changes: 2 additions & 2 deletions simplests3cft.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"S3Bucket": {
"tcsautobucket9": {
"Type": "AWS::S3::Bucket"
}
},
"Outputs": {
"BucketName": {
"Value": {
"Ref": "S3Bucket"
"Ref": "tcsautobucket9"
},
"Description": "Name of the sample Amazon S3 bucket."
}
Expand Down