This file contains hidden or 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
provider "aws" { | |
region = var.aws_region | |
profile = var.aws_profile | |
} | |
terraform { | |
backend "s3" { | |
bucket = "bharaths-terraform-up-and-running" | |
key = "development/data-stores/mysql/terraform.tfstate" |
This file contains hidden or 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 | |
set -o pipefail | |
usage() { | |
echo 'Usage: | |
source ./script.sh <IAM_USERNAME> <MFA_CODE> <ACCOUNT_ID> <PROFILE_NAME> | |
Requires: | |
* jq | |
* aws cli | |
* PROFILE_NAME is default when you do 'aws configure' at first |
This file contains hidden or 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 | |
# Script to push docker images to jfrog artifactory | |
# Developers can build local docker images and they can run this script with single argument as ./push_images.sh java/test_app:1.0 | |
# If no tag passed version it will push as latest tag like java/test_app:latest | |
pushto_jfrog() | |
{ | |
if [ -z ${tag_name} ] |
NewerOlder