Skip to content

Commit

Permalink
feat: Persist AWS CLI configuration in .runiac directory (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbpolan committed May 31, 2021
1 parent 513fc29 commit 9095961
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/cli/cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ var deployCmd = &cobra.Command{
// persist gcloud cli
cmd2.Args = append(cmd2.Args, "-v", fmt.Sprintf("%s/.runiac/.config/gcloud:/root/.config/gcloud", dir))

// persist aws cli
cmd2.Args = append(cmd2.Args, "-v", fmt.Sprintf("%s/.runiac/.aws:/root/.aws", dir))

// persist local terraform state between container executions
cmd2.Args = append(cmd2.Args, "-v", fmt.Sprintf("%s/.runiac/tfstate:/runiac/tfstate", dir))

Expand Down

0 comments on commit 9095961

Please sign in to comment.