Commit Graph

308 Commits (4242cf315166ef364fbde18cdbd33e8c7edc49ff)

Author SHA1 Message Date
Matt Dainty feb8067c7d Convert `ena_support` to a pointer
8 years ago
Megan Marsh 57f87f58b9
Merge pull request #6374 from rickard-von-essen/aws-filters
8 years ago
Matthew Hooker 9181570bc3
remove stray struct dumps in logs
8 years ago
Megan Marsh 79093da6ad skip region validation in tests that don't care; refactor Prepare func so we can test region validation logic with a mock
8 years ago
Megan Marsh 38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
8 years ago
Adrien Delorme 2e73ed8d46 pass Comm instance to fix Spot instance creation
8 years ago
Adrien Delorme e02d0dacc4
Merge branch 'master' into aws-filters
8 years ago
Megan Marsh b94e6e913e
Merge pull request #6670 from sargun/fix-ena-on-pv
8 years ago
Sargun Dhillon 902497d6ce Allow users to build hvm images from pv images to have ena_support
8 years ago
RenaudS 26aab49aaf aws spot instances: add block_duration_minutes option (#6638)
8 years ago
Adrien Delorme df9e756865 pass the Comm instance to the amazon ebs builders steps
8 years ago
Adrien Delorme b0c09087a2 move SSHInterface/SSHIPVersion fields to communitator.Config struct
8 years ago
Adrien Delorme ef4ca9c48e builder.amazon: use c.Comm for ssh
8 years ago
Adrien Delorme 293c485372 builder.aws: use SSHAgentAuth from Comm
8 years ago
Adrien Delorme ef08c441c9 builder.aws: use Comm field for StepKeyPair & StepGetPassword
8 years ago
Adrien Delorme 51d2aac9f6 SSHPrivateKey => SSHPrivateKeyFile
8 years ago
Matthew Hooker e41e99954d
go 1.11 format rules
8 years ago
Rickard von Essen 533967cb66 builder/amazon: Add suppport for security_group_filter
8 years ago
Megan Marsh 340363a649
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
8 years ago
Adrien Delorme 41f6e0334d refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
8 years ago
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago
James Nugent 9fffe4056e
Merge pull request #5452 from smaato/tag-spot-requests
8 years ago
Megan Marsh f49a2d8aed move UI call to before the wait; add context to these steps
8 years ago
Megan Marsh cf63dd10bf replace AMIStateRefreshFunc, InstanceStateRefreshFunc, our spot instance waiter, our chroot volume waiter, and our snapshot waiters with waiters form AWS's SDK.
8 years ago
Mark Meyer 3dbf1cb371 Enable tagging of spot requests
8 years ago
DanHam d5304a25e9
Pass T2 Unlimited settings to run instance step for appropriate EC2 builders
8 years ago
DanHam 9b6fc5a58d
Remove tmp files created by builder/amazon/instance tests
8 years ago
Megan Marsh 3afb243f11 use build name to ensure that winrm password and other shared state is not overwritten if two builders need the password in the same packer run.
8 years ago
Matthew Hooker 21812fa17f
Add volume and run tags if in us-gov/china
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
Matthew Hooker f3dea272d9
Set session in state bag
8 years ago
Matthew Hooker f6c401a143
don't pass in accessconfig
8 years ago
Rong Chen 3e92b1374e issue5606: follow the convention to use AccessConfig to create new aws session for step_create_tags etc.
8 years ago
Rickard von Essen 63f791570a
Merge pull request #5665 from kwilczynski/remove-sts-token-from-logging
8 years ago
Matthew Hooker f216330ba3
spot instance ena/sriov checking for all other builders
8 years ago
Krzysztof Wilczynski 05327b7524
amazon: Remove Session Token (STS) from being shown in the log.
9 years ago
John Davies-Colley 707ec675b2 ssh interface for amazon builders 🔨
9 years ago
Matthew Hooker 8ab390a048
Merge pull request #5495 from smaato/master
9 years ago
Matthew Hooker c65fa8490d
fix various bugs deregistering AMIs
9 years ago
Mark Meyer 4c5df79222 Fix regressions introduced in the instance builder
9 years ago
Matthew Hooker f7e269945e
add cidr validation and rename option
9 years ago
Matthew Hooker c74be87187 Merge pull request #5384 from dave2/sg-source-cidr
9 years ago
SwampDragons 512ac214b4 Merge pull request #5417 from smaato/master
9 years ago
Mark Meyer dbb3c76032 Remove redundant step and its usage
9 years ago
Matthew Hooker ae455bff99
add debugging help if ec2-upload-bundle fails
9 years ago
Mark Meyer 2661fd7869 Move building of spot instances into its own step
9 years ago
Zanetti, David 8a8b51be97 Allow temporary security group to have source CIDR block explicitly provided
9 years ago
Matthew Hooker 02cd6bc7f0 Merge pull request #5288 from hashicorp/fix3114
9 years ago
Matthew Hooker 4bc8e7de3d
add token variable to upload bundle command template
9 years ago
Megan Marsh 2d4bc70d7b use ami prefix to make it clear that these variables are amazon specific
9 years ago
Megan Marsh 9e2e467b31 Allow granular modification of sriov and ena enhanced networking options in amazon amis. Maintain old functionality.
9 years ago
Megan Marsh 14b2d04332 make force_deregister work in all regions, not just original region.
9 years ago
Matthew Hooker 56c513088b
I think this was the intention
9 years ago
Megan Marsh b8c2a5fd43 fix step initializer everywhere StepAMIRegionCopy is called
9 years ago
Paul Thrasher 0be5a28080 Fix issue 4693 - Derive vpc_id from subnet_id
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 50d9546658
builder/amazon: set force_deregister to true on -force
9 years ago
Aaron Stone 1cc3cdf7b5 Always set both SRIOV and ENA when Enhanced Networking is enabled
9 years ago
Rickard von Essen ba9cae5078 builder/amazon: Add SourceAMI and BuildRegion template
9 years ago
Rickard von Essen 26fe9cf339
builder/amazon: Fix crash in amazon-instance
9 years ago
Rickard von Essen c3a352955e amazon: Added snapshot_users and snapshot_groups
10 years ago
Matthew Hooker 832de2104b
Revert "Merge pull request #4230 from mitchellh/revert-4223-closes_3320"
10 years ago
Matthew Hooker f5c3c25d2b Revert "Adds `force_delete_snapshot` flag"
10 years ago
Matthew Hooker f9f9d82419 Merge pull request #4223 from artburkart/closes_3320
10 years ago
Arthur Burkart 5b59f56cdb Adds `force_delete_snapshot` flag
10 years ago
Rickard von Essen 99ee610afa
builder/amazon: Fix SSH Agent
10 years ago
Arthur Burkart 2e65867cba Closes #3908: Adds snapshot tag overrides
10 years ago
Matthew Hooker 60c459d6c8 Merge pull request #4098 from mitchellh/newsession
10 years ago
Matthew Hooker 970b37077e Merge pull request #4050 from jen20/ssh-agent
10 years ago
Matthew Hooker 48bdae93d1 aws-sdk: use session.NewSession
10 years ago
Rickard von Essen d16d5d9686 Merge pull request #3817 from ChrisLundquist/dynamic-source-ami
10 years ago
James Nugent 7425fef2c7 builder/amazon: Allow use of local SSH Agent
10 years ago
Rickard von Essen acc2689b49
builder/amazon: Allow using ssh_private_key_file and ssh_password
10 years ago
Chris Lundquist 9379cbc5d9 [dynamic-source-ami] support instance builder too
10 years ago
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
10 years ago
Patrick Robinson 40bd45764c Only set InstanceInititatedShutdownBehavior on ebs instances
10 years ago
Patrick Robinson a9f914ea97 Add shutdown_behaviour option
10 years ago
Chris Bednarski 951a7e8ad3 Merge pull request #2596 from manicai/master
10 years ago
Colin Hebert 48d242a8f8 Use pointers in the AWS API
10 years ago
Colin Hebert 9385a277c6 Fix API calls and remove az detection in chroot
10 years ago
Colin Hebert e4930e7b57 Merge branch 'master' into subnet_az_discovery
10 years ago
Luke Amdor 8682dec178 aws: build after upstream breaking change
11 years ago
Mark Peek a9716a4dc7 Merge pull request #2797 from jen20/improve-aws-instance-builder-error
11 years ago
Adrian Bridgett 8349e22df9 Add ebs_optimized support
11 years ago
James Nugent b60e1fd862 Add suggestion to AWS Instance builder error message
11 years ago
Chris Bednarski 1a775c05d9 Update calls to amazon to match the upstream
11 years ago
Ian Glover 1447af5e42 Populate access and secret key for bundle_upload_command.
11 years ago
Chris Bednarski 28bf1877c2 Updated AWS SDK calls to match the 0.7.0 release of the AWS SDK
11 years ago
Mitchell Hashimoto 6dd36075b2 Merge pull request #2352 from mitchellh/b-amazon-bundle
11 years ago
Mitchell Hashimoto 98db68e36c builder/amazon/instance: set valid bundle prefix [GH-2328]
11 years ago
Mitchell Hashimoto b315e470c8 builder/amazon: set debug flag for get password
11 years ago
Clint Shryock 4d003aa5a3 builder/amazon-instance: Don't specify empty Virtualization Type
11 years ago
Mitchell Hashimoto 84189f7a28 builder/*: properly save interpolation context
11 years ago
Mitchell Hashimoto 5c290fdbc7 builder/amazon use proper key pair name
11 years ago
Mitchell Hashimoto de2004c1c9 Merge branch 'master' of https://github.com/nyetsche/packer into nyetsche-master
11 years ago
Clint 8fca582278 Merge pull request #2221 from mitchellh/f-amazon-force-deregister-artifacts
11 years ago
Mitchell Hashimoto 101e5986dc builder/amazon: enable windows for instance type too
11 years ago
Mitchell Hashimoto 8f6ecfd9e3 builder/amazon: various fixes (minor) to get things going
11 years ago
Mitchell Hashimoto 115d583cff helper/communicator: make host more generic
11 years ago
Mitchell Hashimoto e557928119 builder/amazon: use helper/communicator
11 years ago
Clint Shryock bec59b535d builder/amazon: Add force_deregister option, to automatically deregister artifacts with name conflicts
11 years ago
Clint Shryock c9b413e3d1 builder/amazon-instance: Omit access, secrety key if using IAM Instance Profile
11 years ago
Clint Shryock 8c321138f4 Revert "Changing --region to --location"
11 years ago
Henry Huang 052b5e6699 "Name" parameter required for copying ami across regions [GH-2172]
11 years ago
Seth Vargo 33ca8b7fb5 Migrate to new AWS repo
11 years ago
Mitchell Hashimoto 8cac7e8d51 Merge pull request #1930 from bhourigan/issue1929
11 years ago
Mitchell Hashimoto b78b119a11 amazon/*: fix merge issues with lib switch
11 years ago
Mitchell Hashimoto 44b980e659 Merge branch 'aws-sdk-go' of https://github.com/jen20/packer into jen20-aws-sdk-go
11 years ago
Mitchell Hashimoto 034e4e676c amazon/*: use new interpolation functions
11 years ago
James Nugent e99cd56b6c Migrate from mitchellh/goamz to awslabs/aws-sdk-go
11 years ago
Brian Hourigan a4cfd921f4 Adding missing hyphen to sudo options
11 years ago
Colin Hebert a08725f7c5 Add auto discovery of AZ based on the subnet
11 years ago
Brian Hourigan f40fd36c31 Changing --region to --location
11 years ago
Brian Hourigan 8e69403735 Prepending -i to sudo so PATH is inherited from profile.d scripts related to ec2 tooling
11 years ago
Lesko, Matthew (NIH/NLM/NCBI) [C] 43f08b2664 go fmt all the things
11 years ago
Lesko, Matthew (NIH/NLM/NCBI) [C] 9d097f9d4e Permit Temp keys and named SSH keypairs
11 years ago
Lesko, Matthew (NIH/NLM/NCBI) [C] 8c87b1cc00 First attempt for re-using a named EC2 keypair
11 years ago
Mitchell Hashimoto 75395af12d Merge branch '1064-fix-upload-file-permissions' of github.com:rasa/packer into rasa-1064-fix-upload-file-permissions
12 years ago
Mitchell Hashimoto db90c16118 builder/amazon: support auto spot price discovery [GH-1465]
12 years ago
Mitchell Hashimoto 3a69b8c1b8 Merge branch 'add-spot-instance-support' of github.com:henrysher/packer into henrysher-add-spot-instance-support
12 years ago
Mitchell Hashimoto 5db91c84bf builder/amazon: string fields on device mappings can use variables
12 years ago
Mitchell Hashimoto ed377c9ff0 builder/amazon-instance: --no-filter by default [GH-1137]
12 years ago
Mitchell Hashimoto 0776d9de34 builder/amazon: ssh_private_ip [GH-1229]
12 years ago
Mitchell Hashimoto 5d1c1e6716 Merge pull request #1373 from anthonybishopric/debug_bundle_commands
12 years ago
Mitchell Hashimoto 704648896e Merge pull request #1425 from dysinger/1424-amazon-instance-s3-region-not-url
12 years ago
Ulf Mansson bebca3bfae It's not necessary to use an instance-store image to build an instance-store image, see this example http://sorcery.smugmug.com/2014/01/29/instance-store-hvm-amis-for-amazon-ec2/ so there should be no restriction on the ExpectedRootDevice
12 years ago
Tim Dysinger c79121617c Use Region not S3Endpoint
12 years ago
abishopric d62edd6c05 Print the evaluated bundle commands
12 years ago
James Massara be27ecc64b Add option to enable enhanced networking (SriovNetSupport) for images.
12 years ago
Henry Huang da29d684a8 Enable the spot_price in "amazon-instance-store" AMI
12 years ago
Ross Smith II d92179847d provisioner/file: set file/directory permissions
12 years ago
Ross Smith II e38ff2f84e Merge pull request #1021 from laggyluke/master
12 years ago
George Miroshnykov fc6e8c0830 builder/amazon: configurable virtualization type
12 years ago
Florian Noeding 6371b70609 optionally use existing ssh key for amazon builders
12 years ago
Alan Grosskurth af89b31a40 builder/amazon: Fix S3 endpoint URL for instance-store builds
12 years ago
Ross Timson 58444627c1 Use --url flag rather than --location for ec2-upload-bundle
12 years ago
Mitchell Hashimoto 8aabe01bad builder/amazon/common: run_tags to apply to launch [GH-722]
12 years ago
Mitchell Hashimoto ae7459718d builder/amazon/instance: use US if region us-east-1 for upload [GH-729]
13 years ago
Mitchell Hashimoto 1234e61cda builder/amazon/all: get rid of unnecessary field
13 years ago
Mitchell Hashimoto f7b1c2dbc6 builder/amazon/instance: add location to upload command [GH-679]
13 years ago
Nathan Sullivan 49a131951a reverting testing stuff
13 years ago
Nathan Sullivan 0cfb7564d5 lets try a string instead of a bool for AssociatePublicIpAddress
13 years ago
Nathan Sullivan 31bf1f342c https://github.com/mitchellh/packer/issues/578
13 years ago
Mitchell Hashimoto c8e911cdc3 Merge branch 'security-groups' of https://github.com/whiteley/packer into whiteley-security-groups
13 years ago
Mitchell Hashimoto 3cd7379d1f builder/amazon/*: warnings
13 years ago
Mitchell Hashimoto 7f639d89b6 builder/amazon/*,builder/openstack: properly scrub sensitive [GH-554]
13 years ago
Mitchell Hashimoto f4b404627c builder/amazon/instance: support AZ here too
13 years ago