This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BACKUPLOG="/var/tmp/backuplogaws" | |
SENDTO="webmaster@example.com" | |
echo "start setup jenkinsCI" > ${BACKUPLOG} 2>&1 | |
AMI_ID_OLD=$(aws ec2 describe-images --owner ***** --query 'Images[?starts_with(Name, `jenkinsAMI`) == `true`]|[0:5].[CreationDate,ImageId,Name]' --profile **** --output text | sort -k1 | tail -n1 | awk '{print $2}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BACKUPLOG="/var/tmp/backuplogaws" | |
SENDTO="webmaster@example.com" | |
echo "start setup jenkinsCI" > ${BACKUPLOG} 2>&1 | |
AMI_ID_OLD=$(aws ec2 describe-images --owner 184559516538 --query 'Images[?starts_with(Name, `jenkinsAMI`) == `true`]|[0:5].[CreationDate,ImageId,Name]' --profile **** --output text | sort -k1 | tail -n1 | awk '{print $2}') | |
sleep 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"DeviceName": "/dev/xvda", | |
"Ebs": { | |
"DeleteOnTermination": true, | |
"SnapshotId": "snap-***", | |
"VolumeSize": 80, | |
"VolumeType": "gp2" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
An execution plan has been generated and is shown below. | |
Resource actions are indicated with the following symbols: | |
~ update in-place | |
Terraform will perform the following actions: | |
# module.cognito.aws_cognito_user_pool.this will be updated in-place | |
~ resource "aws_cognito_user_pool" "this" { | |
arn = "arn:aws:cognito-idp:eu-west-1:*****:userpool/*****" | |
auto_verified_attributes = [] |