Skip to content

Computer15776/tf-sso-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tf-sso-test

ℹ️ Info

This is a sample repo to demonstrate TF's interaction with an AWS SSO profile.

Steps (default profile):

  1. Clone repo and run terraform init
  2. Run aws configure sso and when prompted for CLI profile name enter default (thus making this configuration the default profile for AWS SSO in the CLI also)
  3. Run aws sso login (without specifying --profile xxxx )
  4. Run terraform plan
  5. Output should be visible, without TF errors for credentials etc.

For a named profile (i.e. aws sso login --profile foobar):

  1. Replace profile inside the AWS provider (main.tf) from "default" to "foobar"
  2. Run aws configure sso and set CLI profile name to foobar when prompted
  3. Run aws sso login --profile foobar
  4. Run terraform plan
  5. Output should be visible, without TF errors for credentials etc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages