gcloud auth application-default login
A web browser should open up, asking you to authorize access .
You can set up a default tfvars for the input. For instance
project_id = "internal-lab"
aws_identity_pool_info = {
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| PATTERN=$1 | |
| ENV_VAR=$2 | |
| travis repos --pro --no-interactive -m $1 | xargs -n1 travis env set $ENV_VAR ${!ENV_VAR} --private --repo |
| test(improverrorforplanall) $ go test -timeout 30s -run ^TestTerragruntReportsTerraformErrorsWithPlanAll | |
| [terragrunt] [/var/folders/t5/qp9yz47s44z96jm16jv9m78m0000gq/T/terragrunt-stack-test191196644/fixture-failure] 2017/09/11 11:59:56 Running command: terraform --version | |
| [terragrunt] 2017/09/11 11:59:56 Stack at /var/folders/t5/qp9yz47s44z96jm16jv9m78m0000gq/T/terragrunt-stack-test191196644/fixture-failure: | |
| => Module /var/folders/t5/qp9yz47s44z96jm16jv9m78m0000gq/T/terragrunt-stack-test191196644/fixture-failure (dependencies: []) | |
| => Module /var/folders/t5/qp9yz47s44z96jm16jv9m78m0000gq/T/terragrunt-stack-test191196644/fixture-failure/missingvars (dependencies: []) | |
| [terragrunt] [/var/folders/t5/qp9yz47s44z96jm16jv9m78m0000gq/T/terragrunt-stack-test191196644/fixture-failure/missingvars] 2017/09/11 11:59:56 Module /var/folders/t5/qp9yz47s44z96jm16jv9m78m0000gq/T/terragrunt-stack-test191196644/fixture-failure/missingvars must wait for 0 dependencies to finish | |
| [terragrunt] [/var/folders/t5/qp9yz47s44z96jm16jv |
| require 'thor' | |
| require 'fileutils' | |
| require 'yaml' | |
| ## | |
| # common commands used to manage berks in a way that makes sense for that | |
| # Inspired by the fact that berks is a great idea that is painfully slow | |
| # when using mercurial, and thus needs to work around the prescribed workflow |
| bundle exec kitchen converge -l debug devops-wfm | |
| -----> Starting Kitchen (v1.3.2.dev) | |
| D [Vagrant command] BEGIN (vagrant --version) | |
| D [Vagrant command] END (0m0.43s) | |
| D Berksfile found at /Users/josh/workspace/projects/chefgen/localization/Berksfile, loading Berkshelf | |
| D Berkshelf 3.2.3 library loaded | |
| D Berksfile found at /Users/josh/workspace/projects/chefgen/localization/Berksfile, loading Berkshelf | |
| D Berkshelf 3.2.3 previously loaded | |
| -----> Creating <devops-wfm>... | |
| D <devops-wfm> is synchronizing on Kitchen::Driver::Vagrant#create |
| sudo yum install wget -y | |
| export RPM_VERSION=chefdk-0.2.0-2.el6.x86_64 | |
| export CHEF_RPM=$RPM_VERSION.rpm | |
| if rpm -qa|grep $RPM_VERSION; then | |
| echo "Already have chef dk installed" | |
| else | |
| wget --no-check-certificate https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/$CHEF_RPM | |
| sudo rpm -iU $CHEF_RPM | |
| chef -v |
| Chef::Config[:cookbook_path] = "/tmp/vagrant-chef-1/chef-solo-1/cookbooks/" | |
| run_list = "recipe[chef-solo-search]" | |
| cl = Chef::CookbookLoader.new(Chef::Config[:cookbook_path]) | |
| cl.load_cookbooks | |
| cookbook_collection = Chef::CookbookCollection.new(cl) | |
| @events = Chef::EventDispatch::Dispatcher.new() | |
| node.run_context = Chef::RunContext.new(node, cookbook_collection, @events) | |
| node.run_list = Chef::RunList.new(run_list) | |
| node.run_context.load(node.expand!) |
| cat <<'BOOTSTRAP_AS_USER' > /home/$app_user/bootstrap_as_user.sh | |
| set -e | |
| bash < <( curl --insecure https://rvm.beginrescueend.com/install/rvm ) | |
| rvm_include_string='[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"' | |
| grep "$rvm_include_string" ~/.bashrc || echo "$rvm_include_string" >> ~/.bashrc | |
| cat <<'RVMRC_CONTENTS' > ~/.rvmrc |