Jeff Mitchell
56cfba2509
Fix a serious problem when using links.
...
Links cause there to be more than one name for a container to be
returned. As a result, only looking at the first element of the
container names could cause a container to not be found, leading
Terraform to remove it from state and attempt to recreate it.
2015-06-25 14:40:03 +00:00
Jeff Mitchell
2e01e0635b
When linking to other containers, introduce a slight delay; this lets
...
the Docker API get those containers running. Otherwise when
you try to start a container linking to them, the start command
will fail, leading to an error.
2015-06-25 14:40:03 +00:00
Joshua Semar
7e05b083d3
include keys only projection type
2015-06-25 09:30:44 -05:00
Clint
7a15090208
Merge pull request #2472 from hashicorp/f-aws-asg-update-elbs
...
provider/aws: Update ASGs to support in-place updates for Load Balancers
2015-06-25 08:55:46 -05:00
Joshua Semar
46fed750a5
simple acc test covering more projection types
2015-06-25 03:38:17 -05:00
Sander van Harmelen
b7b770d0da
Update user date size check
...
This makes sure we check the right thing.
2015-06-25 09:45:39 +02:00
Sander van Harmelen
0d36c24c54
Merge pull request #2391 from chiradeep/master
...
increase allowed size of userdata for cloudstack provider
2015-06-25 09:39:04 +02:00
Mitchell Hashimoto
ebc33d874a
providers/openstack: fix vet issue
2015-06-24 23:16:06 -07:00
Mitchell Hashimoto
ede6af8763
Merge pull request #1921 from jtopjian/openstack-servergroup-schedulerhints
...
provider/openstack: scheduler_hints and servergroups
2015-06-24 23:13:25 -07:00
Mitchell Hashimoto
d1d2a90158
Revert "provider/openstack: change security groups to set"
...
This reverts commit 646fd76e07
.
2015-06-24 23:10:30 -07:00
Mitchell Hashimoto
38151229b1
Merge pull request #2285 from cvvs/b_provider_openstack_router_adminbool
...
provider/openstack: change router resource admin_state_up from string to bool
2015-06-24 23:09:14 -07:00
Radek Simko
dc26f06b5f
Merge pull request #2410 from TimeIncOSS/f-aws-lc-monitoring
...
provider/aws: Add aws_launch_configuration.enable_monitoring
2015-06-25 07:02:56 +01:00
Mitchell Hashimoto
a4070a1972
Merge pull request #2452 from zollie/f-aws-launch-configuration-profile-propagation-wait
...
provider/aws: Add retry to aws_launch_configuration Create to wait for IAM instance profile propagation
2015-06-24 22:59:42 -07:00
Clint Shryock
6e818785af
provider/aws: Update ASGs to support in-place updates for Load Balancers
2015-06-24 16:37:23 -05:00
zollie
579b33b8a2
Retry aws_launch_configuration Create on 'Invalid IamInstanceProfile' error only
2015-06-24 17:11:46 -04:00
Radek Simko
6fdbca8e58
Merge pull request #2466 from TimeIncOSS/f-schema-field-name-validate
...
schema: Add field name to ValidateFunc
2015-06-24 18:52:53 +01:00
Mitchell Hashimoto
9fc78d4ea1
Merge pull request #2448 from hashicorp/b-openstack-networks
...
providers/openstack: fix crash case if network is nil [GH-2323]
2015-06-24 10:38:27 -07:00
Mitchell Hashimoto
232916a4de
Merge pull request #2449 from hashicorp/b-aws-sg-crash
...
providers/aws: more guards against crashy cases [GH-2308]
2015-06-24 10:35:04 -07:00
Radek Simko
92db4802b6
schema: Add field name to ValidateFunc
2015-06-24 18:22:12 +01:00
John Ewart
fd98cae9cc
Increment attemptCount when a LimitExceededException occurs
2015-06-24 07:36:14 -07:00
John Ewart
7718cd194c
Support backing off a bit when throttling / limit-exceeded exceptions happen
2015-06-24 07:25:00 -07:00
Mitchell Hashimoto
fef5741ded
providers/aws: fix another crash case
2015-06-23 22:48:39 -07:00
Mitchell Hashimoto
cddd54c3de
fmt
2015-06-23 22:31:24 -07:00
Joshua Semar
7948aa720e
dynamodb - only require nonkey attributes on INCLUDE
2015-06-23 23:50:29 -05:00
zollie
079a26a655
Wrapped Create in a resource.Retry to wait for IAM instance profile propagation
2015-06-23 22:14:53 -04:00
Mitchell Hashimoto
b0169adf02
providers/aws: more guards against crashy cases [GH-2308]
2015-06-23 16:23:24 -07:00
Mitchell Hashimoto
09acd1f79d
providers/openstack: fix crash case if network is nil [GH-2323]
2015-06-23 16:19:42 -07:00
Radek Simko
5cf5451d28
Merge pull request #1999 from TimeIncOSS/r53-delegation-set
...
provider/aws: Add Route 53 delegation set resource
2015-06-23 22:51:47 +01:00
Clint
24c4c55511
Merge pull request #2384 from hashicorp/f-aws-flow-logs
...
provider/aws: Add FlowLog resource
2015-06-23 15:08:00 -05:00
Paul Hinze
7d26e1408a
Merge pull request #2434 from hashicorp/b-sg-rule-crash
...
provider/aws: fix sg rule crash
2015-06-23 15:01:35 -05:00
Paul Hinze
95235ba2cc
Merge pull request #2374 from hashicorp/b-aws-detect-instance-type-drift
...
provider/aws: detect instance_type drift on aws_instance
2015-06-23 15:01:20 -05:00
Paul Hinze
e0fccf2dcc
provider/aws: fix sg rule crash
...
Fixes crash in #2431
Decided that `findResourceSecurityGroup` should return an error when
the SG is not found, since the callers cannot happily continue with a
`nil` SG
Also passes through a few error cases that were being swallowed.
/cc @catsby
2015-06-23 09:25:55 -05:00
Paul Hinze
020dc03234
provider/aws: fix root_block_device for odd AMIs
...
Some AMIs have a RootDeviceName like "/dev/sda1" that does not appear as a
DeviceName in the BlockDeviceMapping list (which will instead have
something like "/dev/sda")
While this seems like it breaks an invariant of AMIs, it ends up working
on the AWS side, and AMIs like this are common enough that we need to
special case it so Terraform does the right thing.
Our heuristic is: if the RootDeviceName does not appear in the
BlockDeviceMapping, assume that the DeviceName of the first
BlockDeviceMapping entry serves as the root device.
fixes #2224
2015-06-23 09:01:41 -05:00
Paul Hinze
cde64727f3
Merge pull request #2411 from Jberlinsky/master
...
Improve idempotency of aws_iam_server_certificate provisioning
2015-06-22 18:12:49 -05:00
Paul Hinze
aa8cf572a8
Merge pull request #2265 from hashicorp/f-schema-validate-field
...
Support arbitrary per-field schema validation
2015-06-22 18:01:54 -05:00
Clint Shryock
cc43ae8c4b
Merge branch 'master' into f-aws-flow-logs
...
* master:
Update CHANGELOG.md
Update CHANGELOG.md
Added affinity group resource.
update link to actually work
provider/azure: Fix SQL client name to match upstream
add warning message to explain scenario of conflicting rules
typo
remove debugging
Update CHANGELOG.md
provider/aws: Add docs for autoscaling_policy + cloudwatch_metric_alarm
provider/aws: Add autoscaling_policy
provider/aws: Add cloudwatch_metric_alarm
rename method, update docs
clean up some conflicts with
clean up old, incompatible test
update tests with another example
update test
remove meta usage, stub test
fix existing tests
Consider security groups with source security groups when hashing
2015-06-22 09:33:42 -05:00
Clint Shryock
87c7f6337d
remove flow/deliver log status attributes
2015-06-22 09:31:37 -05:00
Jason Berlinsky
06e2336467
Replace AWS IAM test SSL certificate with self-signed cert, including CA chain
2015-06-21 01:40:29 -04:00
Jason Berlinsky
a7b31ac40d
Normalize certificate chains as well as certificate bodies when creating AWS IAM SSL certificates
2015-06-21 01:40:09 -04:00
Radek Simko
cbddab8a69
provider/aws: Add aws_launch_configuration.enable_monitoring
2015-06-20 23:40:29 +01:00
aznashwan
9b5c99ba28
Added affinity group resource.
2015-06-19 21:53:36 +03:00
Clint Shryock
44eb55f8f6
update link to actually work
2015-06-19 11:50:10 -05:00
Clint Shryock
d2176b2d7e
Merge branch 'master' into jszwedko-fix-sg
...
* master:
provider/azure: Fix SQL client name to match upstream
2015-06-19 11:40:50 -05:00
Clint Shryock
2410824fc9
provider/azure: Fix SQL client name to match upstream
...
name was changed in 4f4636621e
2015-06-19 11:39:50 -05:00
Clint Shryock
a3cbb74a2e
Merge branch 'master' into jszwedko-fix-sg
...
* master: (23 commits)
typo
Update CHANGELOG.md
provider/aws: Add docs for autoscaling_policy + cloudwatch_metric_alarm
provider/aws: Add autoscaling_policy
provider/aws: Add cloudwatch_metric_alarm
Update CHANGELOG.md
Update CHANGELOG.md
provider/template: don't error when rendering fails in Exists
Update CHANGELOG.md
Added Azure SQL server and service support.
Update CHANGELOG.md
docs: clarify wording around destroy/apply args
Getting Started: Added a Next Step upon finishing install.
docs: add description of archive format to download page
docs: snapshot plugin dependencies when releasing
add v0.5.3 transitory deps
Fixes support for changing just the read / write capacity of a GSI
Change sleep time for DynamoDB table waits from 3 seconds to 5 seconds
Remove request for attribute changes
Fix AWS SDK imports
...
2015-06-19 11:31:41 -05:00
Clint Shryock
645a5aa55b
add warning message to explain scenario of conflicting rules
2015-06-19 11:23:59 -05:00
Paul Hinze
611741c108
typo
2015-06-18 15:47:54 -05:00
Chiradeep Vittal
f8d190f537
fix compile error not caught by 'make dev'
2015-06-18 10:45:15 -07:00
Patrick Gray
24e2cfb260
test works
2015-06-18 11:10:14 -04:00
Patrick Gray
3266c44b83
rename to more intuitive name and finish tests
2015-06-18 10:53:52 -04:00
Clint Shryock
24ee2e5d53
remove debugging
2015-06-18 08:39:08 -05:00
Clint Shryock
0bf127a805
update test; fix import, interpolate ENV var for log name
2015-06-18 08:35:45 -05:00
Clint Shryock
285a88b664
code cleanups
2015-06-18 08:28:38 -05:00
Chiradeep Vittal
139500e076
increase allowed size of userdata for cloudstack provider
2015-06-17 15:41:25 -07:00
Radek Simko
1411435179
provider/aws: Add support for delegation_set to route53_hosted_zone
2015-06-17 23:24:41 +01:00
Radek Simko
bfd8226b89
provider/aws: Add route53_delegation_set
2015-06-17 23:24:41 +01:00
Alex Pilon
14f4e5fe54
provider/aws: Add docs for autoscaling_policy + cloudwatch_metric_alarm
2015-06-17 23:10:23 +01:00
Alex Pilon
05f4b9bfd9
provider/aws: Add autoscaling_policy
2015-06-17 23:10:23 +01:00
Alex Pilon
ceeb94e157
provider/aws: Add cloudwatch_metric_alarm
2015-06-17 23:10:23 +01:00
Clint Shryock
b3d7bb2b39
fix go vet error
2015-06-17 16:45:14 -05:00
Clint Shryock
1a6aef0ed7
Log Group Name is required/forcenew
2015-06-17 16:33:24 -05:00
Clint Shryock
bfdf11c477
provider/aws: Implement AWS Flow Logs
2015-06-17 16:31:21 -05:00
Paul Hinze
5e86e709bc
Merge pull request #2386 from hashicorp/b-template-variable-change-failure
...
provider/template: don't error when rendering fails in Exists
2015-06-17 15:36:11 -05:00
Paul Hinze
385b17d679
provider/template: don't error when rendering fails in Exists
...
The Exists function can run in a context where the contents of the
template have changed, but it uses the old set of variables from the
state. This means that when the set of variables changes, rendering will
fail in Exists. This was returning an error, but really it just needs to
be treated as a scenario where the template needs re-rendering.
fixes #2344 and possibly a few other template issues floating around
2015-06-17 15:33:07 -05:00
Patrick Gray
7bf27daa64
seems to work
2015-06-17 15:21:41 -04:00
aznashwan
357ed8e774
Added Azure SQL server and service support.
2015-06-17 21:23:16 +03:00
Patrick Gray
2135ff02b7
add works but need tests
2015-06-17 10:56:33 -04:00
Clint
b132dd284e
Merge pull request #2121 from johnewart/dynamodb
...
DynamoDB Support
2015-06-17 09:47:13 -05:00
Clint Shryock
640836ee58
rename method, update docs
2015-06-17 09:35:50 -05:00
Clint Shryock
359826be26
clean up some conflicts with
2015-06-16 16:38:26 -05:00
Clint Shryock
c1cdac1f76
clean up old, incompatible test
2015-06-16 16:30:33 -05:00
Clint Shryock
3bf89fb81e
update tests with another example
2015-06-16 16:21:46 -05:00
Clint Shryock
2d06c81e4b
update test
2015-06-16 16:15:07 -05:00
Clint Shryock
b25fb8a55d
remove meta usage, stub test
2015-06-16 15:54:27 -05:00
Patrick Gray
73e8191983
add to provider
2015-06-16 16:10:45 -04:00
Clint Shryock
8a21bd23ea
fix existing tests
2015-06-16 15:09:33 -05:00
Jesse Szwedko
7e0a340baf
Consider security groups with source security groups when hashing
...
Previously they would conflict you had multiple security group rules
with the same ingress or egress ports but different source security
groups because only the CIDR blocks were considered (which are empty
when using source security groups).
Updated to include migrations (from clint@ctshryock.com )
Signed-off-by: Clint Shryock <clint@ctshryock.com>
2015-06-16 14:54:16 -05:00
Paul Hinze
35819b7ae1
provider/aws: detect instance_type drift on aws_instance
...
fixes #2365
2015-06-16 13:23:50 -05:00
aznashwan
58dd568da9
Cleaned up client creation and handling.
2015-06-16 21:04:35 +03:00
John Ewart
4e219b3bad
Fixes support for changing just the read / write capacity of a GSI
2015-06-15 17:05:50 -07:00
Paul Hinze
924278c33f
Merge pull request #2226 from Banno/add-aws-route53-health-checks-squashed
...
provider/aws: add aws_route53_health_check (rebase,squash+docs)
2015-06-15 11:06:03 -05:00
Paul Hinze
1ebe117085
Merge pull request #2052 from aznashwan/azure
...
provider/azure: added a number of storage and networking resources.
2015-06-12 16:49:36 -05:00
Jeff Mitchell
0558763f87
This puts the image parsing code (mostly) back to how it was before. The
...
regex solution is extremely complex, which makes it hard to debug and
understand; the original switches and
commenting lay out the various cases in a straightforward fashion. Plus,
implementing namespace/repo support in the original code was a simple
strings.Join call.
2015-06-12 19:36:52 +00:00
aznashwan
82a7f08a86
Removed redundant casting checks.
2015-06-12 22:25:03 +03:00
aznashwan
bd371a3c40
Removed obsolete TODO's.
2015-06-12 20:57:25 +03:00
Chris Bednarski
380f3ceb86
Merge pull request #2170 from hashicorp/f-aws-lambda
...
AWS Lambda functionality
2015-06-12 10:18:27 -07:00
Patrick Gray
2b7e3d0b51
commit create and delete with a start of test
2015-06-12 12:44:35 -04:00
Dan Paquette
ccf41461a4
provider/aws: add ah and esp protocol integers for network acls and
...
security groups
2015-06-11 23:23:42 -04:00
aznashwan
ebfbef0d52
Added Storage Queue resource.
2015-06-12 01:55:43 +03:00
aznashwan
137cb9778e
Minor fixups, refactors and test updates.
2015-06-11 21:27:40 +03:00
aznashwan
9670e69613
Merge resources unto upstream.
2015-06-11 21:27:40 +03:00
Paul Hinze
35eb5e6395
Merge pull request #2311 from hashicorp/b-aws-empty-vpc-sgs
...
provider/aws: ignore empty vpc_security_group_ids
2015-06-11 08:49:01 -05:00
Clint
54c74becf2
Merge pull request #2305 from hashicorp/b-aws-sg-rule-self
...
provider/aws: Fix Security Group Rule self reference bug
2015-06-11 08:44:41 -05:00
Paul Hinze
d41c9d46a8
provider/aws: ignore empty vpc_security_group_ids
...
fixes #2293
2015-06-11 07:59:42 -05:00
Clint Shryock
9885ac8689
provider/aws: Fix issue with associating KeyPairs with Instances
2015-06-10 14:02:26 -05:00
Clint Shryock
1b80674c92
Merge remote-tracking branch 'upstream/master' into b-aws-sg-rule-self
...
* upstream/master:
Correct syntax error in group membership test.
Add beta compute client
2015-06-10 09:41:26 -05:00
Clint Shryock
5c50ba0c2a
provider/aws: Fix SG rule self reference bug
2015-06-10 09:40:05 -05:00
Clint Shryock
bf3dd5241a
Add failing test for #1985
2015-06-10 09:38:11 -05:00
Radek Simko
1693728c32
Merge pull request #2299 from michaeltchapman/syntax_fix
...
Correct syntax error in group membership test.
2015-06-10 10:07:27 +01:00
Michael Chapman
02e3d30aac
Correct syntax error in group membership test.
...
Fixes #2300 . Regression in 4d59019288
2015-06-10 15:29:22 +10:00
Dave Cunningham
b222499ee0
Add beta compute client
2015-06-10 00:14:13 -04:00
Chris Bednarski
6591603a00
Expand filename if it starts with ~
2015-06-09 12:27:40 -07:00
Chris Bednarski
06dcbae085
Remove sleep from test
2015-06-09 12:13:32 -07:00
Chris Bednarski
f01154366a
Merge with changes from master
2015-06-09 12:12:47 -07:00
cvvs
eabaf8a088
provider/openstack: openstack router admin state
...
Change openstack router resource admin state from a string to a
boolean.
Same technique as mitchellh's fix in
https://github.com/hashicorp/terraform/pull/1745
2015-06-09 10:25:54 -06:00
cvvs
646fd76e07
provider/openstack: change security groups to set
...
This commit converts the openstack compute instances security groups to
a set from a list.
This fixes ordering problems which forces or indicates change to security
groups where none exist, and mimics the functionality in the aws
provider's compute resource.
Includes fixes from dupuy addressing crashes due to an empty state.
2015-06-09 10:04:06 -06:00
Clint
05e06d4afd
Merge pull request #2273 from hashicorp/f-aws-iam-group-membership
...
provider/aws: Add IAMGroupMembership resource
2015-06-09 09:42:33 -05:00
Clint Shryock
4d59019288
code cleanups
2015-06-09 09:11:05 -05:00
Sander van Harmelen
aed44622b1
Merge pull request #2281 from svanharmelen/f-provider-cloudstack
...
provider/cloudstack: updating and tweaking tests and docs
2015-06-09 12:44:22 +02:00
Sander van Harmelen
c9d3b988bc
provider/cloudstack: updating and tweaking tests and docs
...
Making sure everything is up-to-spec again and all tests run flawless,
after merging in some new functionality.
2015-06-09 12:38:05 +02:00
John Ewart
320e4b222c
Change sleep time for DynamoDB table waits from 3 seconds to 5 seconds
2015-06-08 16:04:22 -07:00
John Ewart
f458521be9
Remove request for attribute changes
2015-06-08 16:02:20 -07:00
Clint Shryock
5f1ab2a953
fix typo
2015-06-08 16:21:07 -05:00
Sam Clinckspoor
7b559a9a24
added extra test for structure
2015-06-08 23:06:32 +02:00
Sam Clinckspoor
7f9c4e45ea
added test
2015-06-08 22:43:39 +02:00
Clint Shryock
96a28a092a
update aws_iam_group_membership to provide update functionality
2015-06-08 15:01:23 -05:00
Clint Shryock
6b57f29570
refactor to support multi users
2015-06-08 14:20:39 -05:00
Sam Clinckspoor
14b7dd3477
add resource file
2015-06-08 21:05:25 +02:00
Sam Clinckspoor
a6010e6317
frist commit for aws_elasticahce_parameter_group
2015-06-08 21:05:00 +02:00
Clint
a39516c0eb
Merge pull request #2177 from hashicorp/b-aws-iam-role-profile-update
...
provider/aws: Remove roles from profiles when trying to delete
2015-06-08 13:08:26 -05:00
Paul Hinze
60a5d11fa8
provider/aws: remove default from associate_public_ip_address
...
I snuck this in with #2263 because thought it was simply a stylistic
clarity thing, but it actually generates a resource-replacement-forcing
diff for existing resources that don't have this set in the config.
Definitely don't want that. :P
/cc @catsby
2015-06-08 12:39:36 -05:00
Clint Shryock
f31891fa5e
provider/aws: Add IAMGroupMembership resource
...
bare bones implementation of a Group Membership resource
2015-06-08 11:26:47 -05:00
Sander van Harmelen
ec5cef4de8
Merge pull request #2115 from jalemieux/master
...
provider/cloudstack: add project support for CloudStack Instances
2015-06-08 17:34:24 +02:00
Paul Hinze
e305d7c5df
Merge pull request #2263 from hashicorp/f-aws-spot-instance-request
...
provider/aws: spot_instance_request
2015-06-08 10:29:58 -05:00
Clint Shryock
35047dbc9f
Merge branch 'master' into b-aws-iam-role-profile-update
...
* master: (91 commits)
update CHANGELOG
update CHANGELOG
state/remote: more canonical Go for skip TLS verify
update CHANGELOG
update CHANGELOG
command/apply: flatten multierrors
provider/aws: improve iam_policy err msgs
acc tests: ensure each resource has a _basic test
aws/provider convert _normal tests to _basic
go fmt
Enpoint type configuration for OpenStack provider
Fix page title for aws_elasticache_cluster
Update CHANGELOG.md
Corrected Frankfurt S3 Website Endpoint fixes #2258
Only run Swift tests when Swift is available
Implement OpenStack/Swift remote
Minor correction to aws_s3_bucket docs
docs: Fix wrong title (aws_autoscaling_notification)
provider/aws: clarify scaling timeout error
Update CHANGELOG.md
...
2015-06-08 08:52:38 -05:00
Paul Hinze
37b234e42b
provider/aws: validate RDS final_snapshot_identifier
...
fixes #2250
2015-06-08 08:50:56 -05:00
Mitchell Hashimoto
8748a86e60
Merge pull request #2160 from grubernaut/elasticache_port_required
...
provider/aws: Set AWS Elasticache Port Number to be required
2015-06-07 22:27:59 -07:00
Mitchell Hashimoto
27acb45522
Merge pull request #2262 from ggiamarchi/openstack/endpoint_type
...
Openstack / Add endpoint type provider configuration
2015-06-07 22:12:32 -07:00
Mitchell Hashimoto
b0241541c2
Merge pull request #2264 from hashicorp/r-basic-resource-tests
...
acc tests: ensure each resource has a _basic test
2015-06-07 22:11:48 -07:00
Paul Hinze
f4f5139f22
provider/aws: improve iam_policy err msgs
...
Turns out `%s` outputs nicer than `%#v` here.
Closes #2247
2015-06-07 20:58:22 -05:00
Paul Hinze
84afeb73b1
acc tests: ensure each resource has a _basic test
...
Helpful for breadth first acc test sweeps `-run '_basic$'`
2015-06-07 18:18:14 -05:00
Paul Hinze
66c51d44f6
aws/provider convert _normal tests to _basic
...
For consistency!
2015-06-07 18:04:38 -05:00
Paul Hinze
112724fc39
provider/aws: spot_instance_request
...
This is an iteration on the great work done by @dalehamel in PRs #2095
and #2109 .
The core team went back and forth on how to best model Spot Instance
Requests, requesting and then rejecting a separate-resource
implementation in #2109 .
After more internal discussion, we landed once again on a separate
resource to model Spot Instance Requests. Out of respect for
@dalehamel's already-significant donated time, with this I'm attempting
to pick up the work to take this across the finish line.
Important architectural decisions represented here:
* Spot Instance Requests are always of type "persistent", to properly
match Terraform's declarative model.
* The spot_instance_request resource exports several attributes that
are expected to be constantly changing as the spot market changes:
spot_bid_status, spot_request_state, and instance_id. Creating
additional resource dependencies based on these attributes is not
recommended, as Terraform diffs will be continually generated to keep
up with the live changes.
* When a Spot Instance Request is deleted/canceled, an attempt is made
to terminate the last-known attached spot instance. Race conditions
dictate that this attempt cannot guarantee that the associated spot
instance is terminated immediately.
Implementation notes:
* This version of aws_spot_instance_request borrows a lot of common
code from aws_instance.
* In order to facilitate borrowing, we introduce `awsInstanceOpts`, an
internal representation of instance details that's meant to be shared
between resources. The goal here would be to refactor ASG Launch
Configurations to use the same struct.
* The new aws_spot_instance_request acc. test is passing.
* All aws_instance acc. tests remain passing.
2015-06-07 17:33:32 -05:00
Guillaume Giamarchi
8d26e10aba
go fmt
2015-06-07 23:50:51 +02:00
Guillaume Giamarchi
e04a6cacc5
Enpoint type configuration for OpenStack provider
...
Add the possibility to specify the endpoint type
(public, admin, internal). The default remains the
same (public).
2015-06-07 23:50:34 +02:00
Alexander Ekdahl
52a21f3fb0
Corrected Frankfurt S3 Website Endpoint fixes #2258
2015-06-07 11:39:18 +02:00
Clint
e2cefe290d
Merge pull request #2232 from justnom/master
...
Fixing bugs with `aws_network_interface` and added docs.
2015-06-05 16:24:14 -05:00
Jack Pearkes
6c29671561
provider/aws: clarify scaling timeout error
...
This just gives the user a better hint to why their scaling may have timed out.
2015-06-05 17:14:21 -04:00
Clint
e172508788
Merge pull request #2197 from hashicorp/f-aws-asg-notifications
...
provider/aws: ASG Notifications Resource
2015-06-05 16:04:19 -05:00
Radek Simko
1770713633
Merge pull request #1803 from TimeIncOSS/ecs
...
aws: Add support for ECS (Container Service)
2015-06-05 22:25:41 +02:00
Paul Hinze
834fda764f
Merge pull request #2234 from trumant/os_auth_token
...
Fixes #2212 by allowing OS_AUTH_TOKEN to set api_key config value
2015-06-05 13:12:17 -05:00
Paul Hinze
f65cce478b
provider/aws: fix case in ELB listener protocols
...
fixes #2242
2015-06-05 10:20:07 -05:00
Clint Shryock
d65c8a421a
refactor the internals of this
2015-06-05 10:00:39 -05:00
Clint Shryock
5e6b0166af
provider/aws: Add ASG SNS Notification top level resource
...
- works with multiple asgs
2015-06-04 16:54:01 -05:00
Travis Truman
7fe29efc1d
Fixes #2212 by allowing OS_AUTH_TOKEN to set api_key config value
2015-06-04 14:27:18 -04:00
Paul Hinze
e2e2cd097e
Merge pull request #2231 from svanharmelen/b-fixup-tests
...
provider/azure: update/fix the CheckDestroy functions in the tests
2015-06-04 11:15:30 -05:00
justnom
aed17f8658
Fixing bugs with `aws_network_interface` and added docs.
...
When a user tried to create an `aws_network_interface` resource without specifying the `private_ips` or `security_groups` attributes the API call to AWS would fail with a 500 HTTP error. Length checks have been put in place for both of these attributes before they are added to the `ec2.CreateNetworkInterfaceInput` struct.
Documentation was also added for the `aws_network_interface` resource.
2015-06-04 11:44:33 -04:00
Sander van Harmelen
69736f67a6
Update/fix the CheckDestroy functions in the tests
2015-06-04 17:11:07 +02:00
Mitchell Hashimoto
058e174c4d
Merge pull request #2227 from juls/docker-privileged-option
...
provider/docker: Add privileged option
2015-06-04 16:15:16 +02:00
Sander van Harmelen
01f101f0e1
Merge pull request #2206 from svanharmelen/b-provisioner-chef
...
provisioner/chef: improve the decoding logic to prevent parameter not found errors
2015-06-04 15:50:47 +02:00
Julian Schneider
b9a437658e
Add privileged option to docker container resource
2015-06-04 13:05:52 +02:00
Trent Johnson
054a40475c
provider/aws: add aws_route53_health_check
2015-06-04 05:58:45 -05:00
Sander van Harmelen
1b4b73c2e1
Merge pull request #2211 from benjvi/ova-template
...
Cloudstack - allow OVA template upload
2015-06-04 11:20:37 +02:00
John Ewart
4784eff9ca
Fix AWS SDK imports
2015-06-03 17:12:41 -07:00
John Ewart
1669c35007
Adding DynamoDB acceptance tests
2015-06-03 17:05:40 -07:00
John Ewart
34e9e31377
Adding DynamoDB resource
2015-06-03 17:05:02 -07:00
Clint Shryock
2a0dc4e277
don't set this, it messes things up
2015-06-03 17:10:07 -05:00
Radek Simko
ebaa9bde2a
provider/aws: Add new resource - aws_ecs_service
2015-06-03 22:48:17 +01:00
Radek Simko
87faf855aa
provider/aws: Add new resource - aws_ecs_task_definition
2015-06-03 22:47:32 +01:00
Radek Simko
ae5502b744
provider/aws: Add new resource - aws_ecs_cluster
2015-06-03 22:47:05 +01:00
Clint Shryock
fcd89828f9
provider/aws: Correctly default Instance source_dest_check to true
2015-06-03 15:54:01 -05:00
Paul Hinze
1caef3031b
provider/aws: fix panic when route has no cidr_block
...
While cidr_block is required for static route creation, there are
apparently cases (involving some combination of VPNs, Customer Gateways,
and automatic route propogation) where the cidr_block can come back nil.
This means we cannot assume it's there in the set hash calculation.
2015-06-03 13:43:05 -05:00
Paul Hinze
b71fa3d0ae
provider/aws: handle upstream aws-sdk-go repo move
...
`awslabs/aws-sdk-go => aws/aws-sdk-go`
Congrats to upstream on the promotion. :)
2015-06-03 13:36:57 -05:00
Jacques Lemieux
1d9df96fc1
typo
2015-06-03 11:25:07 -07:00
benjvi
bfcf5cd3d1
Cloudstack - allow OVA template upload
2015-06-03 16:46:56 +01:00
Clint Shryock
de141fe1cc
provider/aws: Updates to SNS / SQS resources after upstream change
2015-06-03 08:46:03 -05:00
Sander van Harmelen
4f6e610ff9
Improve the decoding logic to prevent parameter not found errors
...
We need to decode both the Raw config and the parsed Config to make
sure all set keys are visible. Otherwise keys that will need to be
interpolated later, will be missing causing the validation to fail.
2015-06-03 14:45:30 +02:00
Clint
a42413fa5c
Merge pull request #2191 from hashicorp/b-aws-elasticache-subnet-updates
...
provider/aws: Allow ElastiCache Subnet Group updates
2015-06-02 14:30:37 -05:00
Sander van Harmelen
7aeaa344b0
Merge pull request #2004 from benjvi/sshkey
...
provider/cloudstack: add SSH keypair resource
2015-06-02 21:28:16 +02:00
Sander van Harmelen
31ae2482d5
Merge pull request #2053 from svanharmelen/f-provider-azure
...
WIP: Add Azure provider (peer-review PR)
2015-06-02 21:17:03 +02:00
Sander van Harmelen
7e388bb078
Make sure we expand the homedir
...
If a tilde is used in the path, this makes sure we expand it to a full
path.
2015-06-02 21:08:14 +02:00
Benjamin vickers
5e9d385f96
Add cloudstack ssh key resource and attr for instances
2015-06-02 17:24:17 +01:00
Clint Shryock
a2717acf81
provider/aws: Allow ElastiCache Subnet Group updates
...
Adds update method for ElastiCache Subnet Groups, things are not all ForceNew
anymore.
- can update description
- can update subnet ids
2015-06-02 11:19:23 -05:00
Jacques Lemieux
6c7f632c22
added test creating instance with project id, added const in provider_test
2015-06-01 18:01:28 -07:00
Jacques Lemieux
5687045f10
added test for instance creation with project name
2015-06-01 17:56:43 -07:00
Clint Shryock
015c111a3d
provider/aws: Remove roles from profiles when trying to delete
2015-06-01 15:47:14 -05:00
Paul Hinze
e84203a2dc
provider/aws: remove asg test dependence on default SG
...
accidentally pushed this with an implicit dependency on the default SG
and VPC
2015-06-01 12:12:49 -05:00
Chris Bednarski
6986121305
AWS Lambda functionality
...
- Includes documentation
- Includes acceptance tests
2015-06-01 09:33:45 -07:00
Dave Cunningham
265b9b254e
Merge pull request #2060 from alphagov/f-add-google-cloud-storage
...
Feature: add google cloud storage
2015-06-01 12:10:07 -04:00
Clint Shryock
6242f49af7
provider/aws: Update hash of network acl tests
2015-06-01 09:12:17 -05:00
Clint
ceca4ef9aa
Merge pull request #2148 from hashicorp/b-aws-netacl-icmp-support
...
provider/aws: Add support for ICMP Protocol in Network ACLs
2015-06-01 08:33:06 -05:00
Dan Hilton
b909f7826b
provider/google: Add support for Google Compute Stogare buckets.
...
Configure Google Compute Storage buckets using:
* name (compulsory attribute)
* predefined_acl (optional, default: `projectPrivate`)
* location (optional, default: `US`)
* force_destroy (optional, default: `false`)
Currently supporting only `predefined_acl`s. Bucket attribute updates happen via re-creation. force_destroy will cause bucket objects to be purged, enabling bucket destruction.
2015-06-01 11:36:50 +01:00
Sander van Harmelen
120599e68f
Add some additional checks
2015-06-01 11:18:48 +02:00
Jake Champlin
b236cdf918
Set AWS Elasticache Port Number to be required
...
Set Elasticache Port number to not be set by default, and require
Elasticache Port number to be specified.
Also updated acceptance tests to supply port number upon resource
declaration
Fixes #2084
2015-05-31 18:01:07 -04:00
Paul Hinze
060e8882bd
Merge pull request #2147 from mzupan/fix-asg-health-checkswitch
...
Switching the healthcheck shouldn't cause a refresh of the resource
2015-05-30 07:10:56 -05:00
Mike Zupan
e7fa855174
making the update happen
2015-05-30 02:51:56 -07:00
Clint
c4af5b2e9a
Merge pull request #2120 from hashicorp/b-aws-instance-ebs-snapshot
...
provider/aws: Fix issue with restoring from snapshot ID
2015-05-29 17:07:01 -05:00
Clint Shryock
339f2bd21f
provider/aws: Add support for ICMP Protocol in Network ACLs
...
- added icmp_type attribute
- added icmp_code attribute
- fixed an issue hiding the error
2015-05-29 16:48:50 -05:00
Mike Zupan
c122323d14
Switching the healthcheck shouldn't cause a refresh of the resource
...
Switching the healthcheck from elb->ec2 or ec2->elb shouldn't cause the ASG to re-create itself
2015-05-29 13:40:15 -07:00
Clint
4cd8147340
Merge pull request #2110 from hashicorp/f-aws-kinesis
...
provider/aws: AWS Kinesis Stream support
2015-05-29 10:37:29 -05:00
Clint
f536df7aff
Merge pull request #2128 from hashicorp/f-aws-elasticache-check-nodes
...
provider/aws: Check ElastiCache node status before returning
2015-05-29 10:20:02 -05:00
Clint Shryock
c95557af27
Check node length to match expected node count
2015-05-29 10:09:54 -05:00
Clint Shryock
9a1ae44475
provider/aws: Cleanups on Kinesis naming
2015-05-29 09:40:34 -05:00
Radek Simko
01399f3240
Add tags to EBS volumes
2015-05-29 12:39:20 +01:00
Sander van Harmelen
2e1463ba0f
Merge pull request #2133 from hashicorp/b-volumn-error-params
...
go vet caught wrong number of params passed to error message
2015-05-29 10:38:20 +02:00
Sander van Harmelen
08dd7dece9
Very minor change needed to realign with the updated Azure SDK
2015-05-29 10:17:43 +02:00
Chris Bednarski
3768bdeae1
Updated the names for autoscaling to match breaking changes in upstream
...
AutoScalingGroup -> Group
04d1270245
2015-05-29 00:55:59 -07:00
Chris Bednarski
d9551866f4
go vet caught wrong number of params passed to error message
2015-05-28 21:21:52 -07:00
Jacques Lemieux
7e49714c3d
fixed project schema, added project support to retrieveUUID
2015-05-28 18:41:58 -07:00
Clint Shryock
8a4cbcb5a2
provider/aws: Check ElastiCache node status before returning
2015-05-28 17:36:21 -05:00