terraform/builtin
James Nugent e3ccb51168 provider/aws: Add assume_role block to provider
This replaces the previous `role_arn` with a block which looks like
this:

```
provider "aws" {
        // secret key, access key etc

	assume_role {
	        role_arn = "<Role ARN>"
		session_name = "<Session Name>"
		external_id = "<External ID>"
	}
}
```

We also modify the configuration structure and read the values from the
block if present into those values and adjust the call to AssumeRole to
include the SessionName and ExternalID based on the values set in the
configuration block.

Finally we clean up the tests and add in missing error checks, and clean
up the error handling logic in the Auth helper functions.
2016-09-03 12:54:30 -07:00
..
bins Implement archive provider and "archive_file" resource. (#7322) 2016-08-08 12:56:44 +12:00
providers provider/aws: Add assume_role block to provider 2016-09-03 12:54:30 -07:00
provisioners Make using `ssl_verify_mode` more robust (#7769) 2016-07-22 16:01:48 +02:00