60 Commits

Author SHA1 Message Date
Wilken Rivera
7b705545d9
docs: Various doc clean-ups to fix code block formatting and syntax highlighting (#8868) 2020-03-12 15:05:08 +01:00
Borgstrom ♕
5be5cc146b
iam:GetInstanceProfile is now required 2019-12-03 10:06:01 +08:00
Megan Marsh
6c1cb2a099 add unique kms case to permissions docs 2019-11-21 13:24:44 -08:00
Megan Marsh
6e2456d028 make error messaging around ResourceNotReady better, update docs with other possible issues (#8349) 2019-11-08 11:15:24 +01:00
Megan Marsh
0cfa471d24
Update website/source/docs/builders/amazon.html.md
Co-Authored-By: Wilken Rivera <dev@wilkenrivera.com>
2019-11-06 12:11:48 -08:00
Megan Marsh
b98f6e0db8 add kms policies to amazon docs 2019-11-06 10:37:01 -08:00
Bernard Baltrusaitis
ec1d70dc44 adding required changes 2019-10-22 21:40:18 +11:00
phils
700e747cb9
Fix IAM permissions for spot based on changes in 7682 2019-07-01 00:51:34 +10:00
Adrien Delorme
4f46bd74ab
Merge pull request #7313 from kristi/patch-1
add DescribeInstanceStatus to minimum permissions
2019-02-18 18:19:56 +01:00
Kristi
7e7e486901
add DescribeInstanceStatus to minimum permissions
Packer needs DescribeInstanceStatus or else it ends up waiting forever for the instance to become ready.
2019-02-14 11:53:53 -08:00
Megan Marsh
af7131b169 tests, logic cleanup, docs for vagrant builder 2019-02-04 14:08:43 -08:00
Megan Marsh
ad21367b21 vagrant builder 2019-02-04 14:08:43 -08:00
Matthew Hooker
88d27f37a7
make fmt-docs 2018-10-26 17:02:51 -07:00
Kevin Hicks
03f8680c3c
Remove json specifier from doc code block 2018-10-18 16:53:57 -05:00
Megan Marsh
14166fdd99 update amazon import docs to include the env vars for setting aws waiter delays and timeouts 2018-07-11 10:36:21 -07:00
Fotios Lindiakos
896ceee902
Update list of required IAM permissions
The `ec2:DescribeSpotPriceHistory` is required when the `spot_price` parameter is set to `auto`.
2018-06-22 18:55:50 -04:00
EximChua
286a5aa8c7
Update info on format of the credentials file
Update info on format of the credentials file.
2018-06-13 15:34:06 +08:00
stack72
1bc471073f
docs/aws: Update documentation for AWS Spot Instances
The docs didn't specify that `ec2:DescribeSpotInstanceRequests` was
required. This causes an error as follows:

```
Error waiting for spot request (sir-yg6866gj) to become ready:
UnauthorizedOperation: You are not authorized to perform this operation.
```

This is because the permission to describe instance state is not available
2018-06-08 03:04:22 +03:00
alexgottschalkmedal
38e419dd8c
Update amazon.html.md
Fix typo - CreateKeypair should be CreateKeyPair
2018-04-19 13:07:20 -07:00
Matthew Hooker
b16f2ec64b
builder/amazon: Use sdk default cred providers
I think we were overcomplicating things. The SDK provides the correct
credential chain by default, so let's use that. This patch does a quick
check for static credentials and uses those if found, then defaults to
the default credential provider chain.

This patch also removes the metadata timeout argument. Current versions
of the SDK have short timeouts by default, so I don't believe this is
needed.
2018-03-15 16:49:47 -07:00
Megan Marsh
d07a2dda7d fix grammar in docs 2018-02-15 14:28:22 -08:00
SwampDragons
23567aad6f
Merge pull request #5197 from BWITS/feature/policy_for_spot_instance
Add policies to use spot instance to create the AMI
2018-02-15 14:27:04 -08:00
Matthew Hooker
5b64f71702
Merge pull request #5764 from hashicorp/fix5760
"borrow" access config code from terraform.
2018-02-08 14:55:43 -08:00
Matthew Hooker
a9b48309c9
update amazon authentication docs
Correct docs to reflect new behavior. This is largely borrowed from
terraform.
2018-02-08 14:48:04 -08:00
Matthew Hooker
f5ea1e8312
Use WaitUntilInstanceReady waiter 2018-01-10 15:57:31 -08:00
Matthew Hooker
cba1a0598f
document additional aws permission 2017-12-12 21:13:09 -08:00
Bill Wang
28a986691d Add policies to use spot instance to create the AMI 2017-08-01 21:24:43 +10:00
Matthew Hooker
bcc0d24bf4
run docs through pandoc 2017-06-14 18:13:46 -07:00
Matthew Hooker
176715b7f0
document profile option. 2017-06-14 16:45:18 -07:00
Matthew Hooker
160d31a568
update documentation on automatic lookup of credentials.
Reverts work in #4612
2017-06-13 16:24:50 -07:00
Rickard von Essen
5bc8edc3b2
Updated AWS docs for using default chain 2017-06-09 10:35:48 -07:00
Rickard von Essen
f4f0560101
Updated docs about AWS credentials handeling 2017-06-09 10:29:47 -07:00
Matthew Hooker
d30605fdfb
use json markdown syntax 2017-04-18 11:35:42 -07:00
Seth Vargo
6b80c21043
Revamp pages and docs to fit HashiCorp brand 2017-03-28 16:05:19 -04:00
Kerim Satirli
37feec41d9 fixes broken link to EBS surrogate page 2017-03-06 09:44:07 +01:00
Matthew Hooker
131e1e3857
clarify that it's profile name 2017-02-28 23:23:36 -08:00
Matthew Hooker
6b95de73c4
document how aws-sdk uses the shared credentials file
from https://docs.aws.amazon.com/sdk-for-go/api/aws/credentials/\#SharedCredentialsProvider
2017-02-28 23:09:52 -08:00
James Nugent
635aeb765b amazon/ebssurrogate: Add New Builder
This commit adds a new type of builder which builds an AMI based on a
snapshot of an EBS volume which is provisioned on a "surrogate"
instance. This can be used to build operating system images from
scratch, but unlike the `chroot` builder does not require running from
an AWS EC2 instance.
2017-02-21 18:38:19 -06:00
Matthew Hooker
b04a878ea8
small spelling fix 2017-02-21 11:13:06 -08:00
Rickard von Essen
d1b9a91e3d
Change all builder docs to the expected file names 2017-01-14 13:03:39 +01:00
Rickard von Essen
4ce3b8712a
Replace unencrypted EBS snapshots with encrypted
To ensure that groups and users attributes are added to the encrypted
snapshots.
2016-12-06 03:31:09 +01:00
Ari Aviran
46f217f255 amazon - Snapshot permissions correctly applied
Fixes #3344
2016-12-04 16:03:01 +01:00
Rickard von Essen
d8ef6d1977 Fixed formatting of source_ami_filter example 2016-11-30 12:32:46 +01:00
Matthew Hooker
7443e21992
fix broken link in docs 2016-11-16 12:39:23 -08:00
Matthew Hooker
1cf9dbf27d
fix json 2016-11-09 11:20:06 -08:00
Matthew Hooker
3d69af1247 sort/uniq IAM policies 2016-11-03 11:49:50 -07:00
Matthew Hooker
ac8e70ade0 Revert "Remove duplicate permission"
This reverts commit 78067ff949c4da8f6bbd21bb7989ce9ce29cb2b6.
2016-11-03 11:48:55 -07:00
Matthew Hooker
8eab0ee5b2 Merge pull request #4109 from mitchellh/b-docs
builder/amazon: Fix doc of EBS Volume builder name
2016-11-03 10:29:57 -07:00
James Nugent
33c423529d builder/amazon: Fix doc of EBS Volume builder name
Various things still referred to `ebsinit` or `ebs-volume` - the
imported name was `amazon-ebsvolume`.
2016-11-03 11:59:02 -04:00
Amo Chumber
78067ff949 Remove duplicate permission
In the suggested policy `ec2:CopyImage` was listed twice.

I've also sorted alphabetically to make it easier for somebody who might be recreating the policy in the AWS gui to follow along more easily.
2016-11-03 14:41:12 +00:00