Sander van Harmelen
477988497e
Merge pull request #3613 from svanharmelen/b-cloudstack-vpc
...
provider/cloudstack: add `computed` flag to the `network_domain` parameter
2015-10-23 10:06:37 +02:00
Sander van Harmelen
aa5d02104c
Add `computed` flag to the `network_domain` parameter
...
Without this flag you will get a diff based on the `network_domain`
parameter, if you not specify the parameter.
2015-10-23 09:54:54 +02:00
Martin Atkins
f6fd41e7b5
tls provider
...
As of this commit this provider has only logical resources that allow
the creation of private keys, self-signed certs and certificate requests.
These can be useful when creating other resources that use TLS
certificates, such as AWS Elastic Load Balancers.
Later it could grow to include support for real certificate provision from
CAs using the LetsEncrypt ACME protocol, once it is stable.
2015-10-22 21:48:32 -07:00
Jeff Mitchell
1373a6086b
Use cleanhttp for new http clients
2015-10-22 14:23:59 -04:00
Dave Cunningham
53b64909ec
Merge pull request #3553 from lwander/f-gcp-oauth
...
provider/google: OAuth2 support
2015-10-22 00:44:16 -04:00
Martin Atkins
dd56b39e0c
Codeploy deployment group app_name instead of application_name.
...
The corresponding resource is called aws_codeploy_app, so for consistency
we'll name the attribute app_name instead of application_name.
2015-10-21 08:34:46 -07:00
Christopher Tiwald
390f226eb5
aws: Add aws_codedeploy_deployment_group tests
2015-10-20 18:05:40 -04:00
Christopher Tiwald
a546a12c2d
aws: Add support for aws_codedeploy_deployment_group resources
2015-10-20 18:05:40 -04:00
Christopher Tiwald
42c077700a
aws: Add acceptance tests for "aws_codedeploy_app" resources.
2015-10-20 18:05:39 -04:00
Christopher Tiwald
e59fb4e6ca
aws: Add support for "aws_codedeploy_app" resources.
2015-10-20 18:05:39 -04:00
clint shryock
953f38c534
lowercase everything in r53 names
2015-10-20 16:36:25 -05:00
Lars Wander
bba2c3221d
Added oauth2 support for GCP
2015-10-20 15:08:04 -04:00
Lars Wander
d4f7cdc877
GCP UserAgent now shows accurate Terraform version
2015-10-20 14:45:11 -04:00
clint shryock
d798042475
provider/aws: Downcase Route 53 record names in statefile
2015-10-20 13:32:35 -05:00
Jeff Mitchell
5fa5c4bc53
Use new packngo API allowing passing in a custom http.Client
2015-10-19 13:03:28 -04:00
Jeff Mitchell
b0ceffc322
Remove usage from dependencies as well. Other dependencies need upstream merging to completely solve this.
2015-10-19 12:06:34 -04:00
BSick7
6a593f9d17
Fixing aws identifiers for aws_route.
...
Fixing basic acceptance test.
Adding warning to website about mixed mode.
Adding exists to aws_route.
Adding acceptance test for changing destination_cidr_block.
2015-10-19 09:16:27 -04:00
gkze
ac0afad6e9
Add aws_route resource
2015-10-19 09:16:26 -04:00
clint shryock
a273b9b93b
provider/aws: Add configuration to copy tags to RDS Snapshots
2015-10-16 11:14:11 -05:00
Paul Hinze
97cb207fc5
Merge pull request #3333 from aybabtme/use-official-digitalocean-client
...
use official Go client for DigitalOcean provider
2015-10-16 09:11:04 -05:00
Michael Austin
53e196eaed
fix vet error
2015-10-15 12:55:33 -04:00
Clint
2f94e575ef
Merge pull request #3300 from Runscope/fix-dynamodb-gsi-bug
...
provider/aws: fix bug with reading GSIs from dynamodb
2015-10-15 10:04:33 -05:00
Sander van Harmelen
2a24d52721
Merge pull request #3502 from joelmoss/chef_policy_unused_runlist
...
[chef provisioning] When use_policyfile is given, the run list is not used, so don't require it
2015-10-15 12:40:45 +02:00
Paul Hinze
3fbeb326cd
provider/azure: acc tests fixes
...
* avoid name collisions
* update image names
2015-10-14 22:59:33 -05:00
Paul Hinze
f6e525e531
provider/google: one more test that should skip predefined_acl
...
it was depreceted in https://github.com/hashicorp/terraform/pull/3272
2015-10-14 22:36:19 -05:00
Paul Hinze
0efffc67f0
provider/google: storage bucket tests shouldn't not check predefined_acl
...
it was depreceted in https://github.com/hashicorp/terraform/pull/3272
2015-10-14 22:17:34 -05:00
Paul Hinze
b2b41192ac
provider/google: container test needed bigger instance to pass
2015-10-14 22:16:58 -05:00
Paul Hinze
c1aab4cfaf
Merge pull request #3507 from hashicorp/b-gce-metadata
...
provider/google: one more fix to GCE metadata
2015-10-14 21:40:50 -05:00
Martin Atkins
3708e752af
Merge pull request #3138 from mastor/master
...
Support tags for aws_db_subnet_group
2015-10-14 19:36:45 -07:00
Paul Hinze
4f400a1944
provider/google: one more fix to GCE metadata
...
In #3501 @lwander got us almost all the way there, but we still had
tests failing. This seemed to be because GCE sets
`metadata.startup-script` to a blank string on instance creation, and if
a user specifies any `metadata` in their config this is seen as the
desired full contents of metadata, so we get a diff trying to remove
`startup-script`.
Here, to address this, we just proactively remove the "startup-script"
key from `Read`, and then we enforce that "metadata_startup_script"
is the only way to configure startup scripts on instances.
2015-10-14 21:34:33 -05:00
Martin Atkins
1300f165b1
Merge pull request #3311 from caarlos0/allow-non-persistent-spot-requests
...
Allow non-persistent spot requests
2015-10-14 19:34:31 -07:00
Clint
6eadfcae21
Merge pull request #3500 from stack72/aws-dynamodb-table-arn
...
provider/aws: DynamoDB Table ARN
2015-10-14 16:25:49 -05:00
Clint
51100234cb
Merge pull request #3504 from hashicorp/b-aws-test-fixes
...
Small fixes for acceptance tests
2015-10-14 14:59:15 -05:00
Clint Shryock
6ab339b62d
unset website_endpoint, website_domain if website part is removed
2015-10-14 14:49:33 -05:00
Clint Shryock
f9c577aa2a
update requirement for peer test
2015-10-14 13:55:37 -05:00
Clint Shryock
4fb7ae6600
rename test so it can be ran in isolation
2015-10-14 13:55:19 -05:00
stack72
7af484c8f6
Changing the DynamoDb Create to do a Read at the end
2015-10-14 19:16:58 +01:00
Joel Moss
b1d731bd6f
[chef provisioning] When use_policyfile is given, the run list is not used, so don't require it
2015-10-14 19:05:38 +01:00
Paul Hinze
bfc107f90e
Merge pull request #3496 from hashicorp/b-azure-settings-tilde
...
provider/azure: fix issues loading config from homedir
2015-10-14 13:03:53 -05:00
Michael Austin
1ff02d9f31
Merge commit '0c2f189d083e49b49747ce323702db1861cb2cbf' into 5873-terraform-snapshot-security-v6.3
2015-10-14 13:56:27 -04:00
Lars Wander
b7f7c7a731
Provider GCE, fixed metadata state update bug
2015-10-14 12:47:54 -05:00
Lars Wander
12625997c1
Added global address & tests
2015-10-14 12:47:53 -05:00
Michael Austin
32d04797f9
update security group after restore from snapshot
2015-10-14 13:23:11 -04:00
stack72
6d2fee9c28
After the DynamoDB table is created, the ARN wasn't being set
2015-10-14 18:06:09 +01:00
Paul Hinze
5f6c03f515
Merge pull request #3191 from hashicorp/f-asg-wait-config
...
provider/aws: configurable capacity waiting duration
2015-10-14 10:34:55 -05:00
Paul Hinze
ef5b6e93a9
provider/azure: fix issues loading config from homedir
...
Issues were:
* `settings_file` `ValidateFunc` needs to expand homedir just like the
`configure` does, otherwise ~-based paths fail validation
* `isFile` was being called before ~-expand so configure was failing as well
* `Config` was swallowing error so provider was ending up with `nil`,
resulting in crash
To fix:
* Consolidate settings_file path/contents handling into a single helper
called from both `validate` and `configure` funcs
* Return err from `Config`
To cover:
* Added test case to validate w/ tilde-path
* Added configure test w/ tilde-path
2015-10-13 16:57:11 -05:00
Garrett Heel
9c2725e0a5
provider/aws: allow local kinesis
2015-10-13 14:29:50 -07:00
Garrett Heel
127c1aef61
provider/aws: fix bug with reading GSIs from dynamodb
2015-10-13 14:14:58 -07:00
Radek Simko
7088a0096e
provider/aws: Add acceptance tests for aws_cloudformation_stack
2015-10-13 22:55:55 +02:00
Radek Simko
4dfbbe3074
provider/aws: Add implementation for aws_cloudformation_stack
2015-10-13 22:55:55 +02:00
Clint
c0c81dc78f
Merge pull request #3490 from hashicorp/b-aws-vpc-peering-checks
...
provider/aws: Additional error checking to VPC Peering conn
2015-10-13 12:55:45 -05:00
stack72
9f01efae6f
Adding a test to make sure that the diffGlacierVaultTags func works as expected
2015-10-13 15:01:58 +01:00
stack72
2a7b8be9f3
Gofmt of the aws glacier vault resource
2015-10-13 14:58:29 +01:00
stack72
5266db31e2
Adding the ability to manage a glacier vault
2015-10-13 14:58:29 +01:00
Clint Shryock
60b7037cdd
provider/aws: Additional error checking to VPC Peering conn
2015-10-13 06:20:46 -05:00
Paul Hinze
a811a72f11
provider/aws: fix force_delete on ASGs
...
The `ForceDelete` parameter was getting sent to the upstream API call,
but only after we had already finished draining instances from
Terraform, so it was a moot point by then.
This fixes that by skipping the drain when force_delete is true, and it
also simplifies the field config a bit:
* set a default of false to simplify the logic
* remove `ForceNew` since there's no need to replace the resource to
flip this value
* pull a detail comment from code into the docs
2015-10-12 17:10:01 -05:00
Clint
8df9d706fb
Merge pull request #3488 from hashicorp/b-aws-sgrule-migrate-test
...
update migration test
2015-10-12 16:34:44 -05:00
Clint
a1f2b824cc
Merge pull request #3470 from hashicorp/b-aws-key-pair-key-sig
...
provider/aws: Migrate KeyPair to version 1
2015-10-12 16:33:24 -05:00
Clint Shryock
c44e9d10a4
update migration test
2015-10-12 16:26:49 -05:00
Clint Shryock
31b8f04bda
provider/aws: Migrate KeyPair to version 1
2015-10-12 16:04:51 -05:00
Clint Shryock
9f3a17e9b4
update sg rule ids
2015-10-12 15:51:47 -05:00
Clint Shryock
03aac9f42b
Expand on an error case with more descriptive error
2015-10-12 15:51:21 -05:00
Clint Shryock
e0bb04b822
update expeded hash for migration test
2015-10-12 15:51:21 -05:00
Clint Shryock
d3c5c0d85f
provider/aws: Update Security Group Rules to Version 2
2015-10-12 15:51:21 -05:00
Clint Shryock
810d088279
Fix whitespace formatting with go fmt
2015-10-12 15:50:04 -05:00
Paul Hinze
61721387b3
Merge pull request #3457 from TimeIncOSS/f-aws-ec2-placement-groups
...
provider/aws: Add support for EC2 Placement Group
2015-10-12 14:24:12 -05:00
Clint
8152f5822e
Merge pull request #3265 from stack72/aws-s3-bucket-update
...
provider/aws: Adding some other simple S3 Bucket Object (Optional) Inputs
2015-10-12 14:23:29 -05:00
Martin Atkins
51630aea26
Merge #3397 : Tags for AWS Kinesis Streams
2015-10-12 09:38:09 -07:00
Garrett Heel
36f78cc1dc
provider/aws: Allow tags for kinesis streams
2015-10-12 09:00:56 -07:00
stack72
3809cb5b88
Fixing the merge conflicts on the s3 bucket object resource after another PR had been merged
2015-10-12 16:51:27 +01:00
Paul Hinze
f77373207c
Merge pull request #3419 from rakutentech/add-vsphere-provider
...
Add VMware vSphere provider
2015-10-12 10:13:38 -05:00
Paul Hinze
22681c3db2
Merge pull request #3284 from stack72/do_size_slug
...
provider/digitalocean - Droplet Size Lowercase
2015-10-12 07:06:53 -05:00
Martin Atkins
091d3fe206
Merge #3351 : aws_autoscaling_lifecycle_hook resource
2015-10-11 22:52:00 -07:00
Takaaki Furukawa
f34628de54
Refactor ResourceData, pluralize some arguments and add error check in d.Set for complex types
2015-10-12 13:06:29 +09:00
Jonathan Leibiusky
57c80a0d46
Add support for aws autoscaling lifecycle hooks.
2015-10-11 20:42:40 -03:00
Martin Atkins
3db76ce287
Revert "Grafana provider"
...
This reverts commit 719e8c956e
,
which was accidentally included in a merge.
2015-10-11 16:01:20 -07:00
Martin Atkins
719e8c956e
Grafana provider
2015-10-11 13:50:25 -07:00
Martin Atkins
b7247026e9
Merge #3228 : aws_directory_service_directory resource
2015-10-10 18:09:17 -07:00
Martin Atkins
a888cd6f62
Merge pull request #3200 from zpatrick/master
...
Optional "content" argument for "s3_bucket_object"
2015-10-10 11:26:38 -07:00
Radek Simko
59e5be2fe8
provider/aws: Add acceptance tests for aws_directory_service_directory
2015-10-08 17:06:39 -07:00
Radek Simko
a66ac7e751
provider/aws: Add aws_directory_service_directory resource
2015-10-08 17:06:39 -07:00
stack72
080e08fb73
Adding Computed to the Content-Type of S3 Bucket Object. Regardless of whether you set a content-type, AWS will always set a content-type
2015-10-08 23:14:34 +01:00
Radek Simko
f30c647a26
provider/aws: Add acceptance test for aws_placement_group
2015-10-08 12:44:47 -07:00
Radek Simko
110be439e2
provider/aws: Add aws_placement_group
2015-10-08 12:44:14 -07:00
stack72
b3010e1412
Because of the lack of Update, S3 Bucket Object needs to force new when changing the params
2015-10-08 18:50:30 +01:00
stack72
8e2163c963
Removing the S3 Bucket Object Update method. This was removed in master but seems to be broken in my branch
2015-10-08 18:44:59 +01:00
stack72
0a5387db90
Adding some examples of the S3 bucket object parameters as well as checking for an empty string in the new S3 bucket object params
2015-10-08 17:24:33 +01:00
Clint
4962ef159b
Merge pull request #3036 from hashicorp/b-aws-eip-computed-instance
...
provider/aws: Allow Instance to be computed in EIPs
2015-10-08 09:38:26 -05:00
Clint Shryock
c68d9c4ae0
provider/aws: Allow Instance to be computed in EIPs
2015-10-08 09:14:04 -05:00
Clint
e7b8c01399
Merge pull request #3452 from pmoust/cs-remove-extra-parentheses
...
removed extra parentheses
2015-10-08 09:13:01 -05:00
Radek Simko
8364827a36
Merge pull request #3443 from TimeIncOSS/f-aws-es
...
provider/aws: Add support for Elastic Search
2015-10-08 07:06:52 -07:00
Clint
877f9f85f0
Merge pull request #3446 from stack72/aws-test-dbParamGroupName
...
provider/aws: Added a set of tests for the DBParamGroup Name
2015-10-08 08:59:19 -05:00
Panagiotis Moustafellos
e4845f75cc
removed extra parentheses
2015-10-08 15:48:04 +03:00
stack72
6ac07e970a
Removing the numbers from the dbParamGroup name random string. There is an edge case that this could actually trigger a failure due to not allowing to start with a number
2015-10-08 12:50:17 +01:00
stack72
29630547f4
Fixing the broken build in the aws_db_parameter_group tests
2015-10-08 12:41:07 +01:00
stack72
bd78dfd885
Refactoring the multiple tests into a simple test case with multiple inputs as per feedback
2015-10-08 12:15:59 +01:00
stack72
97188d6583
Adding a RandomString generator to test for db_param_group_name being too long
2015-10-08 10:05:50 +01:00
stack72
4cf9c64de0
Gofmt change for resource docker_image test
2015-10-08 09:47:50 +01:00
stack72
cc56431b97
Added a set of tests for the AWS DBParamGroup Name
2015-10-08 09:39:11 +01:00
Sander van Harmelen
cc921b0bc7
Small refactor for better readability and updated the docs
2015-10-08 10:09:11 +02:00
Radek Simko
96dc244cb3
Merge pull request #3279 from stack72/aws-db_param_group_lowercase
...
provider/aws: db_parameter_group name validation
2015-10-07 17:43:51 -07:00
Radek Simko
7cb395c8b6
Merge pull request #3296 from stack72/new_validateFunc_spike
...
provider/aws: New Validation Function Tests for ELB Name
2015-10-07 17:39:29 -07:00
Radek Simko
4ca3853824
Merge pull request #3277 from stack72/aws-app-cookieness-doc-update
...
docs: Updating the app_cookie_stickiness_policy docs to reflect needing a L…
2015-10-07 17:18:55 -07:00
Radek Simko
c221da9aeb
provider/aws: Add acceptance test for aws_elasticsearch_domain
2015-10-07 16:57:46 -07:00
Radek Simko
2b9f4f895e
provider/aws: Add support for aws_elasticsearch_domain
2015-10-07 16:57:46 -07:00
Paul Hinze
5d9a5725b9
Merge pull request #2619 from Nomon/master
...
provider/docker: Fix Repository in PullOptions
2015-10-07 18:17:46 -05:00
Radek Simko
ab8d222f41
Merge pull request #3439 from TimeIncOSS/gofmt
...
gofmt files from recently merged PRs
2015-10-07 13:44:25 -07:00
Guillaume Giamarchi
e453decec8
Fix OpenStack provider idempotency bugs
2015-10-07 22:39:12 +02:00
Sander van Harmelen
b0d9b5666c
Merge pull request #3399 from vmfarms/source_nat_ip
...
Add source NAT IP computed parameter to CloudStack VPC
2015-10-07 22:36:25 +02:00
Radek Simko
f9efede852
gofmt files from recently merged PRs
2015-10-07 13:35:06 -07:00
Paul Hinze
40f09b7cbd
Merge pull request #2260 from crunchywelch/packet_driver
...
Packet bare metal cloud hosting platform provider
2015-10-07 15:15:42 -05:00
Clint
e26d3a11ca
Merge pull request #2935 from hashicorp/f-aws-rds-cluster
...
provider/aws: RDS Cluster, Cluster Instance (Aurora)
2015-10-07 13:16:36 -05:00
Paul Hinze
7905b91b8a
Merge pull request #3313 from sarguru/iam_validateaccount_fixcrash
...
Fix ValidateAccountId for IAM Instance Profiles
2015-10-07 12:18:38 -05:00
Clint Shryock
71b1cb1289
go fmt after rebase
2015-10-07 11:27:24 -05:00
Clint Shryock
70841285c2
Update RDS Cluster for final snapshot, update tests/docs
2015-10-07 11:26:23 -05:00
Clint Shryock
77d8f87308
add publicly_accessible, update docs
2015-10-07 11:26:23 -05:00
Clint Shryock
5739c4869c
provider/aws: Docs for RDS Cluster, Cluster Instance
2015-10-07 11:26:23 -05:00
Paul Hinze
59c414d257
Merge pull request #2162 from apparentlymart/aws-opsworks-stackslayers
...
provider/aws: Opsworks Stacks and Layers
2015-10-06 15:24:00 -05:00
Dave Cunningham
b816ed6c87
Merge pull request #3272 from lwander/f-gce-bucket-acls
...
provider/gce: Implemented bucket & object ACLs, as well as documentation and tests
2015-10-06 14:49:20 -04:00
Dave Cunningham
f9fc89dfde
Merge pull request #3258 from lwander/f-gce-optional-region
...
provider/gce: Make region optional for remaining GCE resources
2015-10-06 14:48:36 -04:00
Lars Wander
d15acb042c
Implemented bucket & object ACLs, as well as documentation and tests
2015-10-06 14:46:47 -04:00
Lars Wander
1be8e85d44
Implements optional region for remaining GCE resources
2015-10-06 14:44:40 -04:00
Sander van Harmelen
040b9dc4b1
Merge pull request #3421 from svanharmelen/f-cloudstack-unlimited
...
provider/cloudstack: fix regexp
2015-10-06 14:52:36 +02:00
Sander van Harmelen
d4e3e4cae7
Fix regexp
2015-10-06 14:49:16 +02:00
Martin Atkins
6c71504073
Various AWS OpsWorks layer resource types.
...
A "Layer" is a particular service that forms part of the infrastructure for
a set of applications. Some layers are application servers and others are
pure infrastructure, like MySQL servers or load balancers.
Although the AWS API only has one type called "Layer", it actually has
a number of different "soft" types that each have slightly different
validation rules and extra properties that are packed into the Attributes
map.
To make the validation rule differences explicit in Terraform, and to make
the Terraform structure more closely resemble the OpsWorks UI than its
API, we use a separate resource type per layer type, with the common code
factored out into a shared struct type.
2015-10-05 22:47:44 -07:00
Martin Atkins
4ce3d089fb
aws_opswork_stack resource type.
...
"Stack" is the root concept in OpsWorks, and acts as a container for a number
of different "layers" that each provide some service for an application.
A stack isn't very interesting on its own, but it needs to be created before
any layers can be created.
2015-10-05 22:47:44 -07:00
Martin Atkins
8e79f0cb3a
Prepare for adding OpsWorks resources.
...
Here we add an OpsWorks client instance to the central client bundle and
establish a new documentation section, both of which will be fleshed out in
subsequent commits that add some OpsWorks resources.
2015-10-05 22:47:44 -07:00
Martin Atkins
5c30573a63
AWS config forced to us-east-1 in variable, not inline.
...
There are several AWS services that are global in scope and thus need to
be accessed via the us-east-1 endpoints, so we'll make the us-east-1
variant of the config available as a variable we can reuse between multiple
clients as we add support for new services.
2015-10-05 22:47:44 -07:00
Sander van Harmelen
8af27bfb95
Merge pull request #3411 from svanharmelen/f-cloudstack-unlimited
...
provider/cloudstack: refactor of the UUID/UnlimitedResourceID logic
2015-10-06 07:21:29 +02:00
Takaaki Furukawa
231d7879e3
Add VMware vSphere provider support
2015-10-06 13:25:05 +09:00
Hany Fahim
b3bbba7767
project was not being referenced
2015-10-05 19:06:50 -04:00
Hany Fahim
aa4cf423f7
Fix whitespace
2015-10-05 19:01:14 -04:00
Hany Fahim
d212b278a9
Only set projectID if it is set
2015-10-05 18:59:52 -04:00
Paul Hinze
5b4bbf08d0
Merge pull request #1788 from JeanMertz/openstack-floatingip-port
...
OpenStack: add functionality to attach FloatingIP to Port
2015-10-05 14:30:26 -05:00
Radek Simko
71d3f183a6
Merge pull request #2196 from TimeIncOSS/efs
...
provider/aws: Add support for EFS
2015-10-05 07:06:09 -07:00
Sander van Harmelen
350b8e2df2
Small refactor of the UUID/UnlimitedResourceID logic
...
This makes things a little more generic and robust.
2015-10-05 14:05:21 +02:00
Sander van Harmelen
6fb61e3d98
Merge pull request #3324 from vmfarms/master
...
Allow special "unlimited" resource ID and add project param to templates
2015-10-05 13:06:09 +02:00
Patrick Gray
9ab5596458
will not swallow error on aws iam group update if we get NoSuchEntity error
2015-10-04 21:28:28 -04:00
Radek Simko
167b44770f
provider/aws: Add efs_mount_target
2015-10-03 19:35:06 -07:00
Radek Simko
cd96b8a7fc
provider/aws: Add efs_file_system
2015-10-03 19:35:06 -07:00
Martin Atkins
3fde993978
Merge #3336 : Remove local multierror package.
...
Instead, use ``github.com/hashicorp/go-multierror``.
2015-10-03 17:53:36 -07:00
Martin Atkins
b8706a24d4
Merge #3156 : aws_iam_saml_provider resource
2015-10-03 17:29:25 -07:00
Martin Atkins
6e4b445b58
Merge #3288 : Disallow Update func when no updates are possible.
2015-10-03 17:15:04 -07:00
Martin Atkins
1896d71d59
Merge #3235 : elasticache cluster name to lowercase
2015-10-03 15:53:54 -07:00
Radek Simko
9cbcb9a438
Remove no-op Updates from resource schemas
2015-10-03 14:29:19 -07:00
Radek Simko
1335131daa
aws: Only fail on missing TF_ACC_ID if we're actually running acc. tests
2015-10-03 09:25:53 -07:00
Hany Fahim
ea89339a43
Merge remote-tracking branch 'upstream/master' into source_nat_ip
2015-10-02 21:19:43 -04:00
Hany Fahim
910469ddee
Add Source NAT IP parameter
...
When creating a VPC, CloudStack automatically assigns a source NAT IP
from it's pool. It's handy to have this IP available in Terraform, which
can be used in ACLs for example. This commit adds such support.
2015-10-02 20:54:07 -04:00
Clint Shryock
d0f734af76
remove TODO
2015-10-02 16:50:26 -05:00
Clint Shryock
7aa14da9c7
provider/aws: Renable TestAccAWSRouteTable_vpcPeering with additional config
2015-10-02 16:47:59 -05:00
Clint
75c4ee06fc
Merge pull request #2415 from TimeIncOSS/f-aws-cloudwatch-log-group
...
provider/aws: Add cloudwatch_log_group
2015-10-02 15:16:57 -05:00
Clint Shryock
efa26ed2a7
provider/aws: Fix issue with disabling source dest check on first run
2015-10-01 17:00:30 -05:00
Kazunori Kojima
e0632de30c
Add support S3 CORS
2015-10-02 01:49:32 +09:00
Hany Fahim
1e90f986f2
Update conditional to set UnlimitedResourceID for Zonename as well as Zoneid
2015-09-30 14:03:14 -04:00
Hany Fahim
a9b86636c8
Check for proper empty response instead of UnlimitedResourceID
2015-09-28 13:31:08 -04:00
Sander van Harmelen
0c3f2a915c
Merge pull request #3338 from svanharmelen/f-cloudstack-nwdomain
...
provider/cloudstack: fix styling (tab vs spaces in raw string)
2015-09-27 20:01:14 -07:00
Sander van Harmelen
979c86ec26
Fix styling...
2015-09-27 19:56:44 -07:00
Sander van Harmelen
99aeec07de
Merge pull request #3337 from svanharmelen/f-cloudstack-nwdomain
...
provider/cloudstack: add support for network domains
2015-09-27 19:55:36 -07:00
Sander van Harmelen
ccf683b6ea
Add support for network domains
...
Fixes #3248
2015-09-27 19:49:58 -07:00
Ross McFarland
0b66da1cd0
Avoid nil map assign in aws instance migrateStateV0toV1
2015-09-28 02:44:28 +00:00
Sander van Harmelen
2ba8dc38fa
Switch to go-multierror
...
It seems there are 4 locations left that use the `helper/multierror`
package, where the rest is TF settled on the `hashicorp/go-multierror`
package.
Functionally this doesn’t change anything, so I suggest to delete the
builtin version as it can only cause confusion (both packages have the
same name, but are still different types according to Go’s type system.
2015-09-27 18:58:48 -07:00
Antoine Grondin
0bcf557198
use official Go client for DigitalOcean provider
2015-09-27 01:09:51 -04:00
Joel Moss
20362e7506
Added Policyfile support to the Chef provisioner
...
This Adds three new arguments `use_policyfile`, `policy_group` and `policy_name` to the Chef
provisioner. If `use_policyfile` == true, then the other arguments are required.
2015-09-26 00:56:24 +01:00
Dave Cunningham
2619b66e21
Merge pull request #3242 from lwander/b-gce-network-interface-name
...
provider/gce: Instance Template Network Interface Should be URL
2015-09-25 16:40:16 -04:00
Dave Cunningham
442d64d7c2
Merge pull request #3323 from lwander/r-gce-refactor-operations
...
provider/gce: Refactored Operation Wait Code
2015-09-25 16:32:31 -04:00
Hany Fahim
7852248f0e
Moved project block down
2015-09-24 17:04:45 -04:00
Hany Fahim
fc89f576ca
Change IS_GLOBAL_RESOURCE to UnlimitedResourceID to keep terminology in sync with CloudStack
2015-09-24 16:49:21 -04:00
Lars Wander
158af9d0d4
Refactored wait code to delete duplicated code & share functionality
2015-09-24 16:30:12 -04:00
Hany Fahim
7b4bb968d6
Add project parameter to cloudstack_template resource
2015-09-24 16:28:40 -04:00
Hany Fahim
aa950be63b
Use constant for global resources
2015-09-24 16:16:12 -04:00
Hany Fahim
03d7c1fa7d
Allow for -1 for Zone ID, which is valid in CloudStack
2015-09-24 15:57:25 -04:00
Paul Hinze
50b8161da1
Merge pull request #2008 from dupuy/secgrp-delta-remove-then-add
...
remove security groups (by name) before adding security groups (by id)
2015-09-24 14:14:48 -05:00
Sargurunathan Mohan
6b2d6f5ae4
go fmt code
2015-09-23 16:41:48 -07:00
Sargurunathan Mohan
803b33bcae
return nil and exit out of the function for IAM instance profiles
2015-09-23 16:40:46 -07:00
Carlos A Becker
a3111b41e5
Allow non-persistent spot requests
2015-09-23 15:30:44 -03:00
Jason Gedge
3c6faf068f
Allow setting the notification topic ARN for ElastiCache clusters.
2015-09-22 15:49:59 -04:00
stack72
04722c88c5
Renaming the unit tests for the ELB Name validation to be TestResource to keep inline with existing conventions
2015-09-21 22:08:33 +01:00
stack72
91274c9a90
Test spike to extract the function that does the validation for ELB Name. This will allow me to test this in isolation to make sure that the validation rules work as expected
2015-09-21 22:00:51 +01:00
David Radcliffe
83e6d8b60c
add Mutex so that we only do one Dyn operation at a time (extra thanks to @daveadams)
2015-09-21 10:01:32 -04:00
stack72
679563951c
Added the validation for the app-cookie-stickiness-policy after the AWS API returned an error
2015-09-19 20:01:49 +01:00
stack72
9ac39a3edf
Enforcing lowercase on the DO Size. This is used for the sizeslug property of API calls - according to their [docs]( https://developers.digitalocean.com/documentation/v1/sizes/ ) this always looks to be lowercase on the slug. I cannot find any definite answer to this question though
2015-09-18 19:42:37 +01:00
stack72
c753c1e91d
Changing the PR for the db_param_group to ensure validation rather than documentation
2015-09-18 13:04:33 +01:00
Paul Hinze
028e50bae6
Merge pull request #3250 from stack72/aws-elasticache-configuration_endpoint
...
Adding configuration endpoint to the elasticache cluster nodes
2015-09-17 14:27:10 -05:00
stack72
2b7a13b609
Adding some other simple S3 Bucket Object (Optional) Inputs
2015-09-17 20:13:06 +01:00
Radek Simko
f90d2442ca
Merge pull request #3196 from elblivion/allow-r53-zero-weighted-rr-creation
...
provider/aws: Allow weight = 0 in Route53 records
2015-09-17 18:14:30 +01:00
Anthony Stanton
44f2d85de8
Add acceptance test
...
=== RUN TestAccAWSRoute53Record_weighted
--- PASS: TestAccAWSRoute53Record_weighted (249.19s)
2015-09-17 17:20:12 +02:00
Fatih Arslan
545b8a3cd0
aws: store and read instance state
...
This allows us to store the instance state into the state file. This
means we can now easily see the instance state with `terraform show`.
2015-09-17 13:26:38 +03:00
Dave Cunningham
488738163b
Merge pull request #3240 from lwander/f-gce-bucket-website
...
provider/gce: Implement "website features" for GCE buckets
2015-09-16 17:37:32 -04:00
Radek Simko
e3ceda37fb
provider/aws: Add acceptance test for cloudwatch_log_group
2015-09-16 22:34:26 +01:00
Radek Simko
b224abb7a9
provider/aws: Add cloudwatch_log_group
2015-09-16 22:28:01 +01:00
stack72
68c187c01e
Changing the ElastiCache Cluster configuration_engine to be on the cluster, not on the cache nodes
2015-09-16 17:15:31 +01:00
Paul Hinze
96317a6a38
Merge pull request #3152 from dwradcliffe/read_source_dest_check_state
...
provider/aws: read instance source_dest_check and save to state
2015-09-16 10:29:37 -05:00
stack72
029f1fa572
Adding configuration endpoint to the elasticache cluster nodes
2015-09-16 13:06:54 +01:00
Kevin Nuckolls
32832ba030
adds triggers to the null resource
2015-09-15 16:00:12 -05:00
Dave Cunningham
30c27362b1
Merge pull request #3213 from lwander/f-gce-vpn
...
provider/gce: VPN resources, documentation, tests and example
2015-09-15 16:29:41 -04:00
Lars Wander
6850786422
Documentation and tests written for GCE VPN config
2015-09-15 16:13:48 -04:00
Lars Wander
4fd5c72540
Fix "malformed url" bug in instance template when using network name
2015-09-15 15:59:26 -04:00
Lars Wander
53e7058dee
Address issue #2292
2015-09-15 15:06:52 -04:00
Lars Wander
b240628799
Refactored project/instance metadata to use same code whenever possible
...
Also added optimistic locking to instance metadata
2015-09-15 14:06:26 -04:00
Patrick Gray
f5267dfa44
add support for group name and path changes with group update function
2015-09-15 01:00:22 -04:00
thrashr888
55f3c8c764
provider/aws: aws_elasticache_cluster normalizes name to lowercase
2015-09-14 16:50:53 -07:00
Patrick Gray
37e280f6be
add tests for updating a user
2015-09-13 03:52:40 -04:00
Patrick Gray
0ab12a54f1
handle error of trying to remove a user from a group when their name has already changed
2015-09-13 03:37:45 -04:00
Patrick Gray
5576ec6b10
implemented update function for aws_iam_user and it works but still causes transient error for aws_iam_group_membership
2015-09-13 03:27:07 -04:00
Anthony Scalisi
198e1a5186
remove various typos
2015-09-11 11:56:20 -07:00
zpatrick
5256a6df6b
fix formatting
2015-09-10 18:37:17 +00:00
Anthony Stanton
a0d9a4c96f
Workaround to allow weight = 0 in Route53 RRs
...
Moved the GetOk to a Get in the set_identifier block so
we can create a zero-weighted RR - otherwise this falls foul
of a check in GetOk.
See https://github.com/hashicorp/terraform/issues/3189
2015-09-10 10:50:50 +02:00
zpatrick
03f94d66ae
adding content field to s3_bucket_object
2015-09-09 21:13:36 +00:00
Dave Cunningham
b91df72371
Merge pull request #3192 from lwander/f-gcs-bucket-object
...
Allow GCE users to upload objects to buckets by file
2015-09-09 12:27:37 -04:00
Lars Wander
602acadde8
Implemented GCS bucket objects
2015-09-08 16:57:18 -04:00
Sander van Harmelen
6cf126defa
Merge pull request #3020 from davemcdermid/azure-join-domain
...
Added join_domain feature to Azure Instance resource
2015-09-08 22:54:38 +02:00
Dave Cunningham
455ba7bdb1
Merge pull request #3131 from lwander/gce-fix-metadata
...
Brought GCE project metadata code up to spec with GCE API change
2015-09-08 15:51:25 -04:00
Paul Hinze
8559b02099
Merge pull request #3001 from sarguru/iam_profile_validation
...
Fail silently when account validation fails while from instance profile
2015-09-08 13:29:09 -05:00
Paul Hinze
506aae2f28
provider/aws: configurable capacity waiting duration
...
move wait for capacity timeout from a constant to a configurable
2015-09-08 13:22:42 -05:00
Radek Simko
1b59d874fb
Merge pull request #3038 from TimeIncOSS/f-google-backend-service
...
google: Add google_compute_backend_service
2015-09-08 16:59:45 +01:00
Radek Simko
567c299a84
Use computed fingerprint
2015-09-08 12:00:22 +01:00
Radek Simko
a36f893d7e
Rename backend_service_test to compute_backend_service_test
2015-09-08 11:56:20 +01:00
Radek Simko
011b62974a
google: Add acc. tests for google_compute_backend_service
2015-09-08 10:22:14 +01:00
Radek Simko
7d3976e7b6
google: Add new resource - google_compute_backend_service
2015-09-08 10:22:14 +01:00
Radek Simko
cff26ea65a
Add extra debugging for google OperationWaiter
2015-09-08 10:22:14 +01:00
Sander van Harmelen
ce50f35679
Small refactor of the CloudStack load balancer tests
...
This makes the code a little more generic and inline with the other
code. Functionally the same things are tested.
2015-09-08 11:19:41 +02:00
Sander van Harmelen
62f8883df0
Merge pull request #3178 from glenjamin/cloudstack-loadbalancer-no-firewall
...
Expand cloudstack_loadbalancer_rule to work without vpcs
2015-09-08 10:14:49 +02:00
Glen Mailer
981c40fec1
Expand cloudstack_loadbalancer_rule to work without vpcs
...
When using load balancer rules on an IP associated with a network
instead of a vpc, the network field can be omitted and inferred from the
IP. Filling this into state on read causes a spurious diff.
The openfirewall flag defaults to true when used on a network IP.
Implicit resource creation doesn't fit the terraform model, so we
disable it.
Also added a test which shows arguments that can be changed without
creating a new resource.
2015-09-06 23:43:37 +01:00
Sander van Harmelen
06627ccf39
Merge pull request #3177 from glenjamin/cloudstack-acceptance
...
Make it easier to run the cloudstack acceptance tests
2015-09-06 21:13:16 +02:00
Glen Mailer
eee86d58f8
Make it easier to run the cloudstack acceptance tests
...
* Document what should go in the environment variables
* Generate set hash for egress firewall based on selected public ip
2015-09-06 18:21:55 +01:00
Paul Hinze
dcaf0f8b87
provider/aws: correct && -> || mistake
...
Thanks for the sanity check, @aparrentlymart and @dwradcliffe :)
2015-09-06 12:01:57 -05:00
Kazunori Kojima
47d2b29895
Use `%t` for boolean value
2015-09-06 11:06:29 +09:00
Kazunori Kojima
707fe3ac6d
Changed to versioning block
2015-09-05 17:19:52 +09:00
Kazunori Kojima
0fbfd71f96
Allows S3 bucket versioning configuration
2015-09-05 11:38:56 +09:00
Paul Hinze
1dfad739bb
provider/aws: tweak iam_instance_profile logic
...
- always `d.Set` to either the profile name or the empty string
- add some conservative pointer checking to the helper method
/cc @dwradcliffe
2015-09-04 19:20:58 -05:00
Paul Hinze
d937045afd
Merge pull request #3167 from dwradcliffe/read_instance_role
...
provider/aws: read iam_instance_profile for instance and save to state
2015-09-04 19:15:24 -05:00
Paul Hinze
365a7a253a
Merge pull request #2866 from berendt/gh_issue_2865
...
provider/openstack: add state 'downloading' to resource 'blockstorage_volume_v1'
2015-09-04 18:52:56 -05:00
Paul Hinze
0a64779ee5
Merge pull request #2412 from apparentlymart/rundeck
...
Rundeck Provider
2015-09-04 13:38:20 -05:00
Paul Hinze
5f3b6f9952
Merge pull request #3120 from apparentlymart/elasticache-subnet-names
...
aws_elasticache_subnet_group normalizes name to lowercase.
2015-09-04 13:21:06 -05:00
Paul Hinze
3abf4796d4
Merge pull request #2784 from apparentlymart/aws-images
...
AWS AMI resources
2015-09-04 13:16:44 -05:00
David Radcliffe
0b88177cf0
read iam_instance_profile and save to state
2015-09-03 15:43:41 -04:00
Paul Hinze
eb150ae025
provider/aws: add ses_smtp_password to iam_access_key
...
AWS gives instructions for converting AWS credentials into SES SMTP
credentials here:
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html#smtp-credentials-convert
This implements their algorithm and yields the result as an attribute on
`iam_access_key`.
2015-09-03 13:01:04 -05:00
Martin Atkins
7f64327663
Three resources for AWS AMIs.
...
AWS provides three different ways to create AMIs that each have different
inputs, but once they are complete the same management operations apply.
Thus these three resources each have a different "Create" implementation
but then share the same "Read", "Update" and "Delete" implementations.
2015-09-03 10:05:41 -07:00
Martin Atkins
4ae3a17eab
aws_elasticache_subnet_group normalizes name to lowercase.
...
The Elasticache API accepts a mixed-case subnet name on create, but
normalizes it to lowercase before storing it. When retrieving a subnet,
the name is treated as case-sensitive, so the lowercase version must be
used.
Given that case within subnet names is not significant, the new StateFunc
on the name attribute causes the state to reflect the lowercase version
that the API uses, and changes in case alone will not show as a diff.
Given that we must look up subnet names in lower case, we set the
instance id to be a lowercase version of the user's provided name. This
then allows a later Refresh call to succeed even if the user provided
a mixed-case name.
Previously users could work around this by just avoiding putting uppercase
letters in the name, but that is often inconvenient if e.g. the name is
being constructed from variables defined elsewhere that may already have
uppercase letters present.
2015-09-03 10:03:35 -07:00
Martin Atkins
40aafe4455
rundeck_job resource type.
2015-09-03 10:01:32 -07:00
Martin Atkins
bb42821f74
rundeck_private_key resource type.
2015-09-03 10:01:32 -07:00
Martin Atkins
aba9698cf8
rundeck_public_key resource type.
2015-09-03 10:01:32 -07:00
Martin Atkins
f0947661fb
rundeck_project resource type.
2015-09-03 10:01:32 -07:00
Martin Atkins
a42be3e6cf
New provider for Rundeck, a runbook automation system.
2015-09-03 10:01:32 -07:00
Radek Simko
5d215c42db
provider/aws: Add acceptance test for aws_iam_saml_provider
2015-09-02 20:32:20 +01:00
Radek Simko
5001bb078e
provider/aws: Add new resource - aws_iam_saml_provider
2015-09-02 19:57:29 +01:00
David Radcliffe
987ec967ea
read source_dest_check and save to state
2015-09-02 14:04:45 -04:00
Marcello Laganà
98808cb9b8
Build RDS subgrp ARN
2015-09-02 09:24:34 +02:00
Marcello Laganà
d9c4afce21
Modify tags on update and fix tests
2015-09-01 17:54:16 +02:00
Marcello Laganà
72e421942e
Support tags for aws_db_subnet_group
2015-09-01 17:23:28 +02:00
Lars Wander
3f4c451fe8
Brought metadata code up to spec with GCE API change
2015-08-31 14:43:45 -04:00
Dave Cunningham
af5ae9b595
Merge pull request #3130 from hashicorp/b-gce-vet-fixes
...
provider/google: Misc. cleanups for tests to pass
2015-08-31 13:20:43 -04:00
Clint
03aba6f6a3
Merge pull request #2986 from tphummel/aws_kinesis_stream-shard_count
...
aws_kinesis_stream: shard_count state fix
2015-08-31 09:43:40 -05:00
Clint Shryock
f174587291
provider/aws: touch up on aws_spot_instance
2015-08-31 09:34:34 -05:00
Clint
273d4fc98d
Merge pull request #2954 from stayup-io/issue_2919_pass_extra_settings_to_aws_spot_request
...
Pass key_name and subnetId to spot instance request - resolves issue #2919
2015-08-31 09:33:30 -05:00
Clint Shryock
5d7e156982
provider/google: Misc. cleanups for tests to pass
2015-08-31 09:06:25 -05:00
Clint
81af6e18f8
Merge pull request #3043 from hashicorp/b-aws-paginate-asg-notifications
...
provider/aws: Paginate the notifications returned for ASG Notifications
2015-08-31 08:41:28 -05:00
Clint
64258c1efd
Merge pull request #3053 from hashicorp/b-aws-db-updates
...
provider/aws: Updates for RDS
2015-08-28 10:26:11 -05:00
Christian Berendt
3af3ce4242
provider/openstack: use '4' as default for ip_version of subnet
2015-08-27 18:27:14 +02:00
Radek Simko
f4d7ec714e
Merge pull request #3061 from TimeIncOSS/b-aws-ecs-iam-diff
...
Various ECS bugfixes (IAM, destroy timeout)
2015-08-25 16:22:51 +01:00
Clint Shryock
fc0ccb957a
provider/aws: Add update method to DB Subnet Group
2015-08-24 16:52:30 -05:00
Lars Wander
2aad1f7bd2
Implemented CRUD project metadata operations
...
Common metadata state is now stored
Optimistic locking support added to common_metadata
Revisions to keys in project metadata are now reflected in the project state
Wrote tests for project metadata (all pass)
Relaxed test conditions to work on projects with extra keys
Added documentation for project metadata
2015-08-24 12:53:28 -04:00
Clint Shryock
bd2adfce3b
update StateFunc to return empty string if maintenance_window not found
2015-08-24 11:25:43 -05:00
Clint Shryock
22e73d7b68
provider/aws: Lower case DB Instance's maintenance window
...
Fixes https://github.com/hashicorp/terraform/issues/2719
2015-08-24 11:08:19 -05:00
Sander van Harmelen
a535f9eda1
Merge pull request #3049 from svanharmelen/b-chef-provisioner
...
provisioner/chef: fixes issue #2872
2015-08-24 13:37:33 +02:00
Christian Berendt
b38f0e2f67
provider/openstack: add state 'downloading' to resource 'blockstorage_volume_v1'
...
When using an image as the source of new volume the state 'downloading'
prior to the state 'available' is fine.
It is also fine to destroy a volume in the state 'downloading'.
Closes-bug: #2865
Co-Authored-By: Joe Topjian <joe@topjian.net>
2015-08-24 08:21:35 +02:00
Radek Simko
00646b1d7b
ecs_service: Remove unused code
2015-08-23 17:45:52 +01:00
Radek Simko
9c2a3e79f9
ecs_service: Add note about race condition w/ IAM policy
...
- fixes #2902
2015-08-23 17:45:24 +01:00
Radek Simko
669d196a58
ecs_service: Role name can be used in iam_role (ARN was supported)
...
- fixes #2722
2015-08-23 17:42:15 +01:00
Radek Simko
fad019e950
ecs_service: Retry if IAM policy isn't ready yet
...
- fixes #2869
2015-08-23 17:37:29 +01:00
Clint Shryock
d793c6dbff
provider/aws: Updates for RDS
2015-08-21 16:58:34 -05:00
Clint Shryock
ba945f2ff7
update with test
2015-08-21 10:51:16 -05:00
Sander van Harmelen
162568e682
Fixes issue #2872
...
Still not a 100% fix, but that would require some more hacking in core
TF. If time permits I’ll have a look at that later on… But for now this
is a good fix to be able to close #2872
2015-08-21 17:26:32 +02:00
Sander van Harmelen
6b8d37e938
Fix issue #3033 and update tweak several cloudstack resources
...
- Added a retry loop for attaching disks as this something was tried to
fast when the VM was still booting
- Fix issue #3033
- Update docs for latest updates and done some minor refactoring
(styling)
2015-08-21 16:59:35 +02:00
Sander van Harmelen
cb49c8da3d
Merge pull request #2934 from jeroendekorte/master
...
provider/cloudstack: Added loadbalancer support to the provider
2015-08-21 11:16:04 +02:00
Sander van Harmelen
23c1dba7a3
Merge pull request #3035 from vmfarms/master
...
Add project parameter to more Cloudstack resources
2015-08-21 10:40:23 +02:00
Jeroen de Korte
2d1d47fac6
Added LoadBalancer support for Cloudstack Provider
...
PR is complete with docs and tests
2015-08-21 10:37:08 +02:00
Clint Shryock
ae0fbae176
provider/aws: Paginate the notifications returned for ASG Notifications
2015-08-20 17:27:35 -05:00
Radek Simko
53499a9391
google: Add regression test for #2978
2015-08-20 21:40:57 +01:00
Radek Simko
f27f64e8af
Merge pull request #2978 from djworth/master
...
Convert int to int64 when building the cluster.NodeConfig struct
2015-08-20 21:34:54 +01:00
Hany Fahim
330673038c
Add project parameter to cloudstack_disk
2015-08-20 13:35:11 -04:00
Hany Fahim
078b16b20e
Add project parameter to cloudstack_ipaddress
2015-08-20 08:32:57 -04:00
Hany Fahim
228da7cf27
Add project parameter to VPC and network Cloudstack resources
2015-08-19 17:56:57 -04:00
Radek Simko
f27b0a0cf1
Merge pull request #3000 from TimeIncOSS/code-formatting
...
Format code via gofmt + fix whitespacing
2015-08-19 10:45:11 +01:00
Dave Cunningham
aa45266fdb
Fix #2901
2015-08-19 02:57:04 -04:00
Clint Shryock
fde2a400f7
Merge branch 'master' into f-aws-pr-2779
...
* master: (84 commits)
provider/aws: Update to aws-sdk 0.9.0 rc1
use name instead of id - launch configs use the name and not ID
Fix typo on heroku_cert example
provider/aws: add value into ELB name validation message
tests: fix missed test update from last merge
update prevent_destroy error message
Update CHANGELOG.md
Update CHANGELOG.md
providers/aws: Update Launch Config. docs to detail naming and lifecycle recommendation
release: cleanup after v0.6.3
v0.6.3
Update CHANGELOG.md
core: fix deadlock when dependable node replaced with non-dependable one
tests: extract deadlock checking test helper
core: log every 5s while waiting for dependencies
Fixed indentation in a code sample
state/remote/s3: match with upstream changes
provider/aws: match with upstream changes
google: Add example of two-tier app
Updating Launch Config Docs for Name attribute
...
2015-08-18 14:40:01 -05:00
Dave McDermid
1a85f1344b
Added join_domain feature to Azure Instance resource
2015-08-18 16:09:34 +01:00
Clint Shryock
0c2f189d08
provider/aws: Update to aws-sdk 0.9.0 rc1
2015-08-17 13:27:16 -05:00
Sargurunathan Mohan
9abd74819e
apply go fmt on config.go
2015-08-16 17:13:23 -07:00
Tom Hummel
b68c23fb42
aws_kinesis_stream: remove limit on DescribeStream
...
using limit: 1 on DescribeStream will always return 1 shard no matter how many shards there actually are when we call `len()`. so i've removed the limit parameter to get the actual shard list returned
remove limits
2015-08-14 22:24:02 -07:00
Radek Simko
00ad41bf7d
google: Code formatted via gofmt
2015-08-14 12:06:06 +01:00
Sargurunathan Mohan
b95e7a976c
fail silently when users have forbiddenaccount/allowedaccount configured while authenticating via iam profile instance
2015-08-14 03:52:38 -07:00
Paul Hinze
55411d692d
provider/aws: add value into ELB name validation message
...
makes debugging these validation errors much more straightforward
2015-08-13 16:31:18 -05:00
djworth
75c1475cc1
Convert int to int64 when building the cluster.NodeConfig struct
...
related to issue https://github.com/hashicorp/terraform/issues/2901
2015-08-11 08:27:32 -04:00
Paul Hinze
ca993a5a5e
provider/aws: match with upstream changes
2015-08-10 15:39:47 -05:00
Clint Shryock
eb90457223
guard on both accessdenied (no IAM policy) and validationerror (no username specified)
2015-08-07 11:55:44 -05:00
Clint Shryock
31fab62bfd
provider/aws: Fail silently in ValidateCredentials for IAM users
2015-08-07 11:40:50 -05:00
David Laing
79d8fde09c
Pass key_name and subnetId to spot instance request
2015-08-06 20:22:10 +01:00
Clint Shryock
c1daf23a5d
provider/aws: Fix issues with TestAccAWSPolicyAttachment_basic
2015-08-06 09:47:35 -05:00
Clint Shryock
a1a78bd482
provider/aws: Add ARN to Dynamo schema
2015-08-05 14:43:26 -05:00
Clint
b779144a1e
Merge pull request #2924 from calvinfo/f-aws-dynamo-arn
...
provider/aws: Add arn attribute for DynamoDB tables
2015-08-05 14:42:20 -05:00
Clint Shryock
bfaea76b86
more tightly scope s3 bucket object error
2015-08-05 14:27:34 -05:00
Clint Shryock
285b4061db
Merge remote-tracking branch 'upstream/master' into f-aws-s3-object-pr-2079
...
* upstream/master:
Update CHANGELOG.md
Update CHANGELOG.md
provider/aws: allow external ENI attachments
Update AWS provider documentation
docs/aws: Fix example of aws_iam_role_policy
provider/aws: S3 bucket test that should fail
provider/aws: Return if Bucket not found
Update CHANGELOG.md
Update CHANGELOG.md
helper/schema: record schema version when destroy fails
settings file is not required
provider/azure: Allow settings_file to accept XML string
add note to aws_iam_policy_attachment explaining its use/limitations
docs: clarify template_file path information
google: Sort resources by alphabet in docs
Support go get in go 1.5
Update CHANGELOG.md
aws_network_interface attachment block is not required
provider/aws: Fix issue in Security Group Rules where the Security Group is not found
2015-08-05 13:45:06 -05:00
Clint
941ce5560a
Merge pull request #2925 from hashicorp/b-aws-s3-return-on-err
...
provider/aws: Return if Bucket not found
2015-08-05 13:31:21 -05:00
Paul Hinze
3de3002b49
provider/aws: allow external ENI attachments
...
If Terraform creates an ENI and it's attached out of band, Terraform
should not attempt to remove the attachment on subsequent runs.
fixes #2436
fixes #2881
2015-08-05 11:07:07 -05:00
Clint Shryock
8d5fe93152
conditionally set InstanceInitiatedShutdownBehavior
2015-08-04 06:09:47 -05:00
Clint Shryock
83827a5cb7
provider/aws: S3 bucket test that should fail
2015-08-03 16:30:54 -05:00
Clint Shryock
c10c47623e
provider/aws: Return if Bucket not found
2015-08-03 16:17:01 -05:00
Calvin French-Owen
cb2d90a7d9
provider/aws: Add arn attribute for DynamoDB tables
...
This commit exports the `arn` as well as the `id`, since IAM
roles require the full resource name rather than just the table
name. I'd even be in favor or having `arn` as the `id` since the
<region, tablename> pair is the uniqueness constraint, but this
will keep backwards compatibility:
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html
2015-08-03 14:10:18 -07:00
Clint
27b1aa6637
Merge pull request #2922 from hashicorp/azure-settings-file
...
provider/azure: Allow settings_file to accept XML string
2015-08-03 16:05:00 -05:00
Clint Shryock
a7543de393
settings file is not required
2015-08-03 15:34:34 -05:00
Clint Shryock
2a5c18d88b
provider/azure: Allow settings_file to accept XML string
2015-08-03 15:31:25 -05:00
David Radcliffe
9b2ec3ac53
add Dyn provider
2015-07-31 08:39:52 -04:00
Clint Shryock
44f470514c
provider/aws: Add S3 Bucket Object (supercedes #2079 )
2015-07-30 15:17:37 -05:00
Clint Shryock
5c6083e1c4
Merge branch 'master' into f-aws-s3-object-pr-2079
...
* master: (720 commits)
Update CHANGELOG.md
Update CHANGELOG.md
dynamodb-local Update AWS config https://github.com/hashicorp/terraform/pull/2825#issuecomment-126353610
Make target_pools optional
Update CHANGELOG.md
code formatting
Update CHANGELOG.md
providers/google: Fix reading account_file path
providers/google: Fix error appending
providers/google: Return if we could parse JSON
providers/google: Change account_file to JSON
providers/google: Default account_file* to empty
providers/google: Add account_file/account_file_contents ConflictsWith
providers/google: Document account_file_contents
providers/google: Use account_file_contents if provided
providers/google: Add account_file_contents to provider
Update CHANGELOG.md
Update CHANGELOG.md
dynamodb-local Use ` instead of : to refer region to keep the consistency with the provider docs
dynamodb-local Update aws provider docs to include the `dynamodb_endpoint` argument
...
2015-07-30 14:30:35 -05:00
Clint Shryock
f4fb053982
provider/aws: Fix issue in Security Group Rules where the Security Group is not found
2015-07-30 14:10:19 -05:00
Dave Cunningham
6e7c6122e9
Merge pull request #2894 from sparkprime/optional_target_pool
...
Make target_pools optional
2015-07-30 13:52:44 -04:00
Pablo Cantero
5930f22974
dynamodb-local Update AWS config
...
https://github.com/hashicorp/terraform/pull/2825#issuecomment-126353610
Tks @catsby
2015-07-30 12:21:03 -03:00
Pablo Cantero
28bef7c0c7
Merge branch 'master' into dynamodb-local
2015-07-30 12:16:07 -03:00
Dave Cunningham
65ba4c1b06
Make target_pools optional
2015-07-30 10:46:16 -04:00
Clint
26b416335f
Merge pull request #2861 from hashicorp/b-azure-instance-error
...
provider/azure: Provide a simpler error when using a Platform Image without a Storage Service
2015-07-30 09:28:33 -05:00
Clint Shryock
488587467c
code formatting
2015-07-30 09:27:13 -05:00
Paul Forman
c617445fec
Update AWS ASG termination policy code and tests
...
The initial commit of AWS autoscaling group termination policy was
unfinished. It only worked on "create", and so had a needless ForceNew
that would rebuild autoscaling groups on any change. It also used a
HashString set, so it didn't preserve ordering of multiple policies
correctly.
Added the "update" operation, and converted to a TypeList to preserve
ordering. In addition, removing the policy or setting it to a null list
will reset the policy to "Default", the standard AWS policy.
Updated the acceptance tests to verify the update, but the null case is
difficult to test.
2015-07-29 22:56:56 -06:00
Clint Shryock
30572212f2
Merge branch 'master' into pr-2779
...
* master: (86 commits)
providers/google: Fix reading account_file path
providers/google: Fix error appending
providers/google: Return if we could parse JSON
providers/google: Change account_file to JSON
providers/google: Default account_file* to empty
providers/google: Add account_file/account_file_contents ConflictsWith
providers/google: Document account_file_contents
providers/google: Use account_file_contents if provided
providers/google: Add account_file_contents to provider
Update CHANGELOG.md
Update CHANGELOG.md
use d.Id()
Update CHANGELOG.md
Update CHANGELOG.md
scripts: change website_push to push from HEAD
update analytics
core: fix crash on provider warning
provider/aws: Update source to comply with upstream breaking change
Update CHANGELOG.
provider/aws: Fix issue with IAM Server Certificates and Chains
...
2015-07-29 15:54:56 -05:00
Justin Campbell
7884456c4b
providers/google: Fix reading account_file path
2015-07-29 15:59:33 -04:00
Justin Campbell
4764a556c0
providers/google: Fix error appending
2015-07-29 15:59:33 -04:00
Clint Shryock
8faa111156
providers/google: Return if we could parse JSON
2015-07-29 15:59:32 -04:00
Justin Campbell
773852e2d5
providers/google: Change account_file to JSON
...
If JSON fails to parse, treat it as a file path
2015-07-29 15:59:32 -04:00
Justin Campbell
2a04708d66
providers/google: Default account_file* to empty
...
Prevents prompting for input
2015-07-29 15:59:32 -04:00
Justin Campbell
a7ca7e0b36
providers/google: Add account_file/account_file_contents ConflictsWith
2015-07-29 15:59:32 -04:00
Justin Campbell
4ce776d252
providers/google: Use account_file_contents if provided
2015-07-29 15:59:32 -04:00
Justin Campbell
a8d0a70c03
providers/google: Add account_file_contents to provider
2015-07-29 15:59:32 -04:00
Clint
1043fb7c88
Merge pull request #2842 from hashicorp/aws-elasticache-debug
...
provider/aws: Fix issue with checking for ElastiCache cluster status
2015-07-29 11:42:12 -05:00
Pablo Cantero
75492513ec
dynamodb-local Use ` instead of : to refer region to keep the consistency with the
...
provider docs
2015-07-29 13:36:02 -03:00
Clint Shryock
d3b93d54fb
use d.Id()
2015-07-29 11:13:19 -05:00
Clint Shryock
0aafacf3c3
Merge branch 'master' into aws-elasticache-debug
...
* master: (33 commits)
Update CHANGELOG.md
Update CHANGELOG.md
scripts: change website_push to push from HEAD
update analytics
provider/aws: Update source to comply with upstream breaking change
Update CHANGELOG.
provider/aws: Fix issue with IAM Server Certificates and Chains
Increase timeout, IGM delete can be slow
Make failure of "basic" test not interfere with success of "update" test
Update CHANGELOG.md
Use new autoscaler / instance group manager APIs.
Compute private ip addresses of ENIs if they are not specified
Update CHANGELOG.md
Update CHANGELOG.md
provider/aws: Error when unable to find a Root Block Device name
Update CHANGELOG.md
aws_db_instance: Add mixed-case engine test to ensure StateFunc works.
aws_db_instance: Only write lowercase engines to the state file.
Update CHANGELOG.md
Split AWS provider topics by service.
...
2015-07-29 11:07:01 -05:00
Clint
3b8df13142
Merge pull request #2816 from TimeIncOSS/f-aws-elb-name-test
...
provider/aws: Add acceptance test for ELB w/out name
2015-07-29 10:50:49 -05:00
Clint
6339e18f14
Merge pull request #2871 from hashicorp/b-aws-server-sert-fixes
...
provider/aws: Fix issue with IAM Server Certificates and Chains
2015-07-29 09:37:51 -05:00
Paul Hinze
efaf63969c
Merge pull request #2777 from dwradcliffe/dnsimple_force_new
...
provider/dnsimple: domain and type should force new records
2015-07-29 09:34:24 -05:00
Clint
7de7a406f3
Merge pull request #2874 from hashicorp/b-aws-upstream-fixes
...
provider/aws: Update source to comply with upstream breaking change
2015-07-28 15:59:16 -05:00
Clint Shryock
579ccbefea
provider/aws: Update source to comply with upstream breaking change
2015-07-28 15:29:46 -05:00
Dave Cunningham
4fa68716c2
Merge pull request #2868 from sparkprime/gce_autoscaling
...
Gce autoscaling
2015-07-28 15:59:29 -04:00
Clint Shryock
8527174c6e
provider/aws: Fix issue with IAM Server Certificates and Chains
2015-07-28 14:02:26 -05:00
Dave Cunningham
e8e5495483
Increase timeout, IGM delete can be slow
2015-07-28 14:09:43 -04:00
Dave Cunningham
24167b1085
Make failure of "basic" test not interfere with success of "update" test
2015-07-28 14:09:29 -04:00
Dave Cunningham
5544dac7c6
Merge branch 'master' into gce_autoscaling
2015-07-27 20:48:39 -04:00
Dave Cunningham
1ec247ef37
Use new autoscaler / instance group manager APIs.
2015-07-27 20:47:10 -04:00
Jesse Szwedko
affa09efdd
Compute private ip addresses of ENIs if they are not specified
...
As AWS will assign the ENI an address
2015-07-27 23:24:49 +00:00
Clint
8a4fbbf64c
Merge pull request #2745 from ctiwald/ct/lowercase-engine
...
aws_db_instance: Downcase "engine" for RDS
2015-07-27 14:27:32 -05:00
Clint Shryock
99f9b93b57
provider/aws: Error when unable to find a Root Block Device name
...
Fixes #2633
2015-07-27 10:59:37 -05:00
Clint Shryock
493b31d122
provider/azure: Trap a specific Platform Image error in a new PlatformStorageError
2015-07-27 10:23:42 -05:00
Christopher Tiwald
4f085ba550
aws_db_instance: Add mixed-case engine test to ensure StateFunc works.
2015-07-24 16:32:21 -04:00
Christopher Tiwald
dfe0efaf17
aws_db_instance: Only write lowercase engines to the state file.
...
Amazon accepts mixed-case engines, but only returns lowercase. Without
the proper StateFunc, every apply of a mixed-case engine will result in
a new db instance. Standardize on lowercase.
2015-07-24 16:32:21 -04:00
Clint
b75b40553d
Merge pull request #2806 from hashicorp/b-aws-lc-cleanup
...
provider/aws: Clean up externally removed Launch Configurations
2015-07-24 12:00:49 -05:00
Clint Shryock
8ac28c12f3
provider/aws: Fix issue with checking for ElastiCache cluster status
2015-07-24 11:43:28 -05:00
Jesse Szwedko
5554942721
This adds the source_dest_check attribute to the aws_network_interface resource
...
Defaults to true to be consistent with AWS
2015-07-23 06:16:51 +00:00
Pablo Cantero
35201e730e
dynamodb-local Add `dynamodb_endpoint` allowing to change the DynamoDB Endpoint for
...
example to connect to dynamodb-local
2015-07-22 18:57:29 -03:00
John Engelman
cbe9be4571
Add website_domain for S3 buckets.
2015-07-22 10:38:28 -05:00
Radek Simko
57dfaa4922
provider/aws: Add acceptance test for ELB w/out name
2015-07-22 14:33:57 +02:00
Clint
f979fd7dee
Merge pull request #2571 from TimeIncOSS/f-aws-autogenerated-elb-name
...
provider/aws: Allow ELB name to be generated
2015-07-21 15:52:36 -05:00
Clint Shryock
b720387449
provider/aws: Clean up externally removed Launch Configurations
...
Handle Launch Configurations that are not found more gracefully, but tolerating
an additional API error indicating the LC no longer exists.
2015-07-21 11:13:41 -05:00
Clint
4532f3ddcc
Merge pull request #2805 from rnaveiras/spot-instance-typo
...
Amend AWS spot instace state name cancelled
2015-07-21 10:43:31 -05:00
Clint
f3149e9ea5
Merge pull request #2804 from hashicorp/testacc-convergence
...
provider/aws: Converge on TestAccAWS for acceptance tests names
2015-07-21 10:34:00 -05:00
Raúl Naveiras
87239dcec8
Amend AWS spot instace state name cancelled
2015-07-21 17:26:00 +02:00
Clint
81957f7453
Merge pull request #2794 from hashicorp/b-aws-instance-monitoring
...
provider/aws: Fix issue with toggling monitoring in AWS Instances
2015-07-21 10:22:37 -05:00
Clint Shryock
3688d4ba00
provider/aws: Converge on TestAccAWS for acceptance tests names
...
An attempt to converge the tests into a standard naming scheme
- TestAccAWS for aws tests
- a `_basic` test for each suite, save a few that are quick (Network ACLs, for
example)
2015-07-21 09:42:02 -05:00
Radek Simko
4797a82e1a
aws: Simplify ValidateCredentials func
2015-07-21 15:57:59 +02:00
Clint
70cf3a7ace
Merge pull request #2730 from hashicorp/f-aws-fail-nicer
...
provider/aws: Check credentials before attempting to do anything
2015-07-21 08:34:55 -05:00
Dave Cunningham
c6f0bf479b
Merge branch 'master' into gce_autoscaling
2015-07-20 14:25:26 -04:00
Clint
60305cb879
Merge pull request #2728 from hashicorp/b-aws-db-param-bug
...
provider/aws: Fix issue with detecting differences in DB Parameters
2015-07-20 12:38:17 -05:00
Clint Shryock
db5d0301d8
provider/aws: Fix issue with toggling monitoring in AWS Instances
2015-07-20 12:32:58 -05:00
Sander van Harmelen
885b4e9278
Updating the test accordingly...
2015-07-20 18:34:44 +02:00
Sander van Harmelen
df909ca3ca
Fix an issue with `sudo` and `hints`
...
Fixes issue #2781
2015-07-20 18:31:32 +02:00
Marc Tamsky
521451db4d
provider/aws/aws_instance: add new argument `instance_initiated_shutdown_behavior`,
...
accepts string values of 'stop' or 'terminate'.
Signed-off-by: Marc Tamsky <tamsky@users.noreply.github.com>
2015-07-18 09:45:34 -07:00
David Radcliffe
f1cc9fafb3
“DNS Simple” should be “DNSimple”
2015-07-17 23:18:28 -04:00
David Radcliffe
94ef573b66
DNSimple does not support changing a record domain or type
2015-07-17 17:06:01 -04:00
Sander van Harmelen
0308390df9
Merge pull request #2753 from svanharmelen/f-cloudstack-options
...
provider/cloudstack: add new provider option and some more...
2015-07-16 22:03:13 +02:00
Sander van Harmelen
e1d5af8ccf
Fixing the build...
...
The v0.beta is removed, so I also removed it from here. Strangely
enough I cannot find any code that actually used it other then in being
instantiated in the provider config func.
2015-07-16 18:44:09 +02:00
Sander van Harmelen
9897e55594
Fixing last test
2015-07-16 17:58:52 +02:00
Sander van Harmelen
28b7b53be6
Updates and tweaks
2015-07-16 17:40:11 +02:00
Clint Shryock
1091884735
provider/aws: Fix issue with Launch Configurations and enable_monitoring
...
Can now set this value to false. Fixes #2734
2015-07-15 10:42:39 -05:00
Clint
abe62e635a
Merge pull request #2724 from hashicorp/f-aws-asg-updates
...
provider/aws: Improved Auto Scaling Groups updates
2015-07-15 08:42:54 -05:00
Clint Shryock
975e1a6c2c
provider/aws: Check credentials before attempting to do anything
2015-07-14 16:39:50 -05:00
Clint Shryock
7756bf3aef
provider/aws: Fix issue with detecting differences in DB Parameters
...
Fixes #2718
2015-07-14 14:47:18 -05:00
Radek Simko
4d1d4ea0df
provider/aws: Add acceptance tests for aws_vpc_endpoint
2015-07-14 18:48:41 +01:00
Garrett Johnson
f9e825efca
provider/aws: Add new resource - aws_vpc_endpoint
2015-07-14 18:48:41 +01:00
Clint Shryock
04a5890853
minor fix to the test
2015-07-14 10:39:31 -05:00
Clint Shryock
ed98e02e4a
provider/aws: Improved Auto Scaling Groups updates
...
- availability zones are optional if you specify a VPC Zone Identifier (subnet)
- availability zones can be updated in place
2015-07-14 10:19:10 -05:00
Radek Simko
c4a2df9e93
aws: Improve formatting of debug logs
2015-07-12 15:36:47 +01:00
Radek Simko
9882cc59d8
aws: Add regression test for renaming ecs_cluster
2015-07-12 14:37:39 +01:00
Radek Simko
21e4b5e3cf
aws: Use ClientToken when creating ecs_service
2015-07-12 14:37:39 +01:00
Radek Simko
c72c5cebff
aws: Allow migrating (recreating) ecs_service to another cluster
2015-07-12 14:37:39 +01:00
Radek Simko
37d10ebf37
aws: Retry ecs_cluster deletion if instances or services are active
2015-07-12 14:37:30 +01:00
Dave Cunningham
0df8bf90c7
Merge pull request #2357 from TimeIncOSS/gke
...
Add support for GKE (Google Container Engine)
2015-07-11 14:14:50 -04:00
Radek Simko
f5e22d0675
Add new resource - google_container_cluster
2015-07-11 18:56:24 +01:00
Sander van Harmelen
4a8ef78d33
Fixes #2676 by prefixing all Windows commands
...
By prefixing them with `cmd /c` it will work with both `winner` and
`ssh` connection types.
This PR also reverts some bad stringer changes made in PR #2673
2015-07-10 12:56:27 +02:00
Radek Simko
7c03b0dedc
provider/aws: Improve test name (underscores -> undocumentedCharacters)
...
- ref #2665
2015-07-10 08:13:05 +01:00
Radek Simko
77e563d358
Merge pull request #2665 from bitglue/dots_in_subnetgroup
...
Allow dots in the name of aws_db_subnet_group
2015-07-10 08:00:31 +01:00
Paul Hinze
4be8ba6986
Merge pull request #2672 from alexsacr/master
...
provider/aws: fix missing format arg
2015-07-09 23:29:16 -06:00
Sander van Harmelen
97fd4f5b7d
Tweaking the tests
2015-07-09 21:29:27 +02:00
Alex Philipp
3cb2a3b0b8
aws_db_instance: fix missing format arg
2015-07-09 14:28:50 -05:00
Sander van Harmelen
0dc0cff14d
Merge pull request #2657 from blueharford/master
...
provisioner/chef: add secret key
2015-07-09 20:20:46 +02:00
Phil Frost
fb1226321c
Allow dots in the name of aws_db_subnet_group
...
The RDS API reference doesn't say dots are allowed, but they are. For
the sake of people who have preexisting resources with dots in the
names, we should allow them also. Fixes #2664 .
2015-07-09 13:57:12 -04:00
Paul Hinze
4c1c67b520
Merge pull request #2626 from jtopjian/openstack-allow-empty-apikey-endpointtype
...
provider/openstack: Allow empty api_key and endpoint_type
2015-07-09 10:55:56 -06:00
Katelyn Perry
6fbebe3172
provider/aws: bump internet gateway detach timeout
2015-07-09 10:42:16 -05:00
Joshua Seidel
cda814d8b3
No need to do this as they both are in their own scope
2015-07-09 09:32:13 -04:00
Joshua Seidel
4070805fcd
ran gofmt removed required, added IF
2015-07-09 09:05:12 -04:00
Joshua Seidel
61f47d440d
correct space, fix reading of file
2015-07-08 20:06:37 -04:00
Joshua Seidel
090248fab1
fix errors
2015-07-08 19:41:38 -04:00
Joshua Seidel
cd58da773c
remove unused if
2015-07-08 15:25:00 -04:00
Joshua Seidel
7f4a5ac413
fix if statement and condition
2015-07-08 15:09:17 -04:00
Clint Shryock
ef28007988
merge master
2015-07-08 13:05:33 -06:00
Joshua Seidel
6e21ca50a0
add chef secret key
2015-07-08 14:52:23 -04:00
Clint
d34bd0d227
Merge pull request #2640 from hashicorp/b-aws-spot-instance-fix
...
provider/aws: Fix issue where spot instance requests would crash
2015-07-08 12:32:13 -06:00
Clint
f2ff63d0da
Merge pull request #2644 from hashicorp/b-aws-sg-account-update
...
provider/aws: Fix issue in Classic env with external Security Groups
2015-07-08 12:29:50 -06:00
Clint
82d142cc5f
Merge pull request #2634 from hashicorp/f-aws-elasticache-redis-s3-snap
...
provider/aws: Add support for restoring from Redis backup stored in S3
2015-07-08 11:51:23 -06:00
Clint Shryock
cc79e6cb8d
provider/aws: Fix issue in Classic env with external Security Groups
...
Linking a security group from another account requires setting the UserID, which
we were stripping out
2015-07-07 12:06:36 -06:00
Clint Shryock
49a01ee787
provider/aws: Add maintenance window to ElastiCache cluster
...
Implements #2612
2015-07-07 10:41:46 -06:00
Clint Shryock
2fedaa9a4b
provider/aws: Fix issue where spot instance requests would crash
...
Requests that are pending do not have an InstanceID
2015-07-07 09:48:04 -06:00
Clint Shryock
edf8948d52
provider/aws: Add support for restoring from Redis backup stored in S3
...
Fixes #2377
2015-07-06 16:19:15 -06:00
Matti Savolainen
41a16b5719
Merge branch 'master' of https://github.com/hashicorp/terraform
2015-07-06 10:45:17 +03:00
Joe Topjian
5251193f87
Allow empty api_key and endpoint_type
...
These two provider options are optional though if they are not set,
the user will be prompted to enter values.
By changing them to use the envDefaultFuncAllowMissing, the values
are still passed in the environment if they are set and safely
discarded if they are not.
2015-07-06 03:14:13 +00:00
Jeroen de Korte
1c14bfd04d
Added the HTTPS proxy option
2015-07-03 16:27:52 +02:00
Jeroen de Korte
007ab6e503
Fixed the http_proxy
2015-07-03 15:04:58 +02:00
Matti Savolainen
09e336a80a
Fix Repository attribute in docker client PullOptions for private registries.
2015-07-03 12:58:05 +03:00
Radek Simko
0ba041912e
Add regression test for db_subnet_group w/ underscores
...
- ref https://github.com/hashicorp/terraform/issues/2603
2015-07-02 23:58:46 +02:00
Radek Simko
127fa3090f
Merge pull request #2604 from CpuID/cpuid_gh2603
...
Allow underscores in aws_db_subnet_group name
2015-07-02 23:57:49 +02:00
Clint
460d49fd52
Merge pull request #2062 from reverbdotcom/adding-rds-snapshots
...
Adding rds snapshots
2015-07-02 08:56:51 -05:00
Nathan Sullivan
c0b692b360
allow underscores in aws_db_subnet_group name, docs don't claim they are
...
allowed but they are.
2015-07-02 14:45:25 +10:00
Dave Cunningham
447da2177e
Add ForceNew metadata_startup_script field
2015-07-01 21:24:34 -04:00
Radek Simko
1e8fb65925
provider/aws: Add regression test for ELB name validation
...
- prevent #2580 from hapenning again
2015-07-01 07:29:56 +01:00
Panagiotis Moustafellos
0cbb815d28
providers/aws: aws_elb: Allow alnum plus hyphen in name attribute
2015-07-01 09:16:32 +03:00
Adam Enger
ca8736d29f
Merge branch 'master' of github.com:reverbdotcom/terraform into adding-rds-snapshots
...
* 'master' of github.com:reverbdotcom/terraform: (524 commits)
docs: tweaks to RELEASING
Minor change to docs
Update CHANGELOG.md
Update DynamoDB example docs to remove non-key attributes; update test to remove non-key attribute from attribute set to prevent infinite planning loops
Update CHANGELOG.md
use /usr/bin/env bash
provider/aws: fix go vet
provider/aws: ignore providers with Meta nil
update CHANGELOG
provider/aws: Code cleanups for Spot Requests
provider/aws: fix db_subnet acc test
Fixing the tests
Fixes issue #2568
Update CHANGELOG.md
Update CHANGELOG.md
fixes typo
Fixed void Azure network config bug.
provider/aws: ecs task definition is deregistered correctly
provider/azure: fixup storage service test
provider/docker: [tests] change images
...
2015-06-30 15:26:23 -05:00
Paul Hinze
0d58b94636
Merge pull request #2576 from johnewart/dynamodb_docs
...
[dynamodb] Update docs and fix the acceptance test accordingly
2015-06-30 14:03:08 -05:00
Paul Hinze
97ee42663b
Merge pull request #2533 from hashicorp/b-vpn-connection-protection
...
provider/aws: nil protection against VPN connections [GH-2144]
2015-06-30 13:40:47 -05:00
John Ewart
ca7fe86c67
Update DynamoDB example docs to remove non-key attributes; update test to remove non-key attribute from attribute set to prevent infinite planning loops
2015-06-30 11:38:16 -07:00
Paul Hinze
ece4430188
Merge pull request #2562 from aznashwan/b-azure-non-existent-netconfig
...
Fixed void Azure network config bug.
2015-06-30 13:25:43 -05:00
Paul Hinze
0698b865e2
provider/aws: fix go vet
2015-06-30 12:35:54 -05:00
Mitchell Hashimoto
0b3d249727
provider/aws: ignore providers with Meta nil
...
We changed the way validation works for providers so that they aren't
always configured if they have computed attributes. The result is that
sometimes the Configure won't be called, hence Meta is nil
2015-06-30 10:24:53 -07:00
Clint
4f2f9546c3
Merge pull request #2574 from hashicorp/b-aws-spot-request-touchup
...
provider/aws: Code cleanups for Spot Requests
2015-06-30 09:30:26 -05:00
Clint Shryock
c81345f535
provider/aws: Code cleanups for Spot Requests
2015-06-30 09:28:14 -05:00
Paul Hinze
8fa96d2c33
provider/aws: fix db_subnet acc test
...
AWS accepts uppercase DB Subnet Group names - it just automatically
downcases them. We already had logic to handle that - so we
intentionally had an acctest with uppercase characters that was now
failing.
Loosening the regexp to allow uppercase letters for now - we can discuss
if we want to tighten the validation as a separate question.
/cc @radeksimko @catsby
2015-06-30 09:20:52 -05:00
Sander van Harmelen
57980349fc
Merge pull request #2570 from svanharmelen/b-provisioner-chef-version
...
provisioner/chef: fixes issue #2568
2015-06-30 14:35:04 +02:00
Radek Simko
676d490d40
provider/aws: Allow elb name to be generated
2015-06-30 13:13:51 +01:00
Sander van Harmelen
3d03f4b2aa
Fixing the tests
2015-06-30 14:13:36 +02:00
Sander van Harmelen
b7e981c6d1
Fixes issue #2568
...
When surrounding the version with quotes, even no version (an empty
string) will be accepted as parameter. The install.sh script treats an
empty version string the same as no when version is set. So it will
then just use the latest available version.
2015-06-30 14:03:06 +02:00
Radek Simko
8acc55ae13
Merge pull request #2402 from hashicorp/f-aws-ecs-td-deregistration
...
provider/aws: Deregister ECS task definition correctly
2015-06-30 12:36:58 +01:00
Radek Simko
f67410db53
Merge pull request #2534 from dtan4/ec-subnet-group-subnet-ids
...
Make elasticache_subnet_group subnet_ids as required argument
2015-06-30 08:45:48 +01:00
aznashwan
5ff6598e65
Fixed void Azure network config bug.
2015-06-30 02:13:34 +03:00
Radek Simko
f5eb581425
provider/aws: ecs task definition is deregistered correctly
2015-06-29 23:37:20 +01:00
Paul Hinze
860a0fcbf2
provider/azure: fixup storage service test
...
wrong region in fixture vs assertion
2015-06-29 16:55:26 -05:00
Paul Hinze
4981d7d28c
provider/docker: [tests] change images
...
use a base image with a long running process - fixes container tests
2015-06-29 16:09:05 -05:00
Radek Simko
406967e581
Merge pull request #2552 from TimeIncOSS/f-aws-iam-role-validation
...
provider/aws: Add validation for aws_iam_role_policy.name
2015-06-29 20:39:52 +01:00
Radek Simko
ce831e879f
Merge pull request #2553 from TimeIncOSS/f-aws-iam-instance-profile-validation
...
provider/aws: Add validation for aws_iam_instance_profile.name
2015-06-29 20:39:39 +01:00
Paul Hinze
b26df75b50
Merge pull request #2327 from jefferai/f-delay-on-link
...
Fix two serious problems when using links in Docker containers
2015-06-29 14:36:38 -05:00
Clint
791787047f
Merge pull request #2395 from GrayCoder/master
...
Add resource "aws_iam_policy_attachment" to attach a managed policy to users, roles, or groups
2015-06-29 14:33:34 -05:00
Paul Hinze
ddc266902b
tests: test name consistency
2015-06-29 14:06:55 -05:00
aznashwan
7429027a8c
Added SQL Database Server Firewall Rule resource.
2015-06-29 21:36:02 +03:00
Mitchell Hashimoto
686076526b
Merge pull request #2543 from hashicorp/b-elastic-ip-destroy
...
provider/aws: ignore association not exist on EIP destroy [GH-2295]
2015-06-29 10:35:20 -07:00
Mitchell Hashimoto
4b5b6b6942
Merge pull request #2544 from hashicorp/b-vpc-peer-failed
...
providers/aws: vpc peering failed == deleted [GH-2322]
2015-06-29 10:35:15 -07:00
Mitchell Hashimoto
b257efa51a
Merge pull request #2545 from hashicorp/b-cloudflare-not-found
...
providers/cloudflare: if resource no longer exists, set ID to ""
2015-06-29 10:35:08 -07:00
Mitchell Hashimoto
9100ad57f6
Merge pull request #2546 from hashicorp/b-dme-not-found
...
providers/dme: unable to find record, set ID to "" [GH-2440]
2015-06-29 10:34:43 -07:00
Mitchell Hashimoto
63466121f4
Merge pull request #2532 from hashicorp/b-vpc-retry
...
provider/aws: vpc delete retry on dependency violation [GH-1628]
2015-06-29 10:23:34 -07:00
Mitchell Hashimoto
9c9fe38fd8
Merge pull request #2531 from hashicorp/b-aws-instance-refresh
...
providers/aws: set AMI on read for instance [GH-1571]
2015-06-29 10:21:30 -07:00
Radek Simko
be8d0dea2d
provider/aws: Add validation for aws_iam_instance_profile.name
2015-06-29 16:27:35 +01:00
Radek Simko
fed64b4fbd
provider/aws: Add validation for aws_iam_role_policy.name
2015-06-29 16:23:42 +01:00
Mitchell Hashimoto
7bb2a26b5e
providers/dme: unable to find record, set ID to "" [GH-2440]
2015-06-28 23:31:44 -07:00
Mitchell Hashimoto
05bc835748
providers/cloudflare: if resource no longer exists, set ID to ""
...
[GH-301]
2015-06-28 23:28:12 -07:00
Mitchell Hashimoto
da1cac623d
providers/aws: implement basic fast-path for not being in EC2 for creds
2015-06-28 23:06:49 -07:00
Mitchell Hashimoto
93cedc7ec1
providers/aws: style nitpick
2015-06-28 22:46:49 -07:00
Mitchell Hashimoto
2a5ed6c847
Merge pull request #1841 from josharian/aws-external-creds
...
providers/aws: detect credentials more robustly
2015-06-28 22:43:56 -07:00
Mitchell Hashimoto
e2e8d3746f
providers/aws: vpc peering failed == deleted [GH-2322]
2015-06-28 22:35:02 -07:00
Mitchell Hashimoto
cc2a5ab18f
provider/aws: ignore association not exist on EIP destroy [GH-2295]
2015-06-28 22:30:43 -07:00
Patrick Gray
28506c3750
add composeErrors function to only expose errors that happened
2015-06-28 22:30:54 -04:00
Patrick Gray
0f5c9c012d
check length of slices instead of using incorrect type
2015-06-28 20:00:55 -04:00
Patrick Gray
c375a72f15
check for empty string instead of nil
2015-06-28 19:39:50 -04:00
Daisuke Fujita
562cf596dc
Make elasticache_subnet_group subnet_ids essential
2015-06-28 16:13:25 +09:00
Mitchell Hashimoto
1cc5068b8c
provider/aws: nil protection against VPN connections [GH-2144]
2015-06-26 21:22:08 -07:00
Mitchell Hashimoto
ad408d8862
provider/aws: vpc delete retry on dependency violation [GH-1628]
2015-06-26 17:26:06 -07:00
Mitchell Hashimoto
f6b9e7c1a6
providers/aws: set AMI on read for instance [GH-1571]
2015-06-26 17:12:20 -07:00
Clint Shryock
5938a0806f
provider/aws: Read Route 53 after create, to populate computed values
2015-06-26 15:11:29 -05:00
Clint
079e4505a8
Merge pull request #2276 from SamClinckspoor/resource-aws-elasticache-parameter-group
...
provider/aws elasticache parameter group
2015-06-26 14:01:19 -05:00
Sam Clinckspoor
c92b7a980c
fixed possibly incorrectly returning destroyed
2015-06-26 20:16:21 +02:00
Radek Simko
594f04e064
Merge pull request #2523 from TimeIncOSS/aws-fix-elb-validation
...
aws: Fix validation for aws_elb.name
2015-06-26 18:25:30 +01:00
Radek Simko
60a7597a4c
aws: Fix validation for aws_elb.name
2015-06-26 18:08:13 +01:00
Radek Simko
2a9293a036
aws: Fix validation for aws_db_instance.identifier
2015-06-26 17:57:13 +01:00
Radek Simko
9528ff1e0a
Merge pull request #2519 from TimeIncOSS/f-aws-lc-validation
...
provider/aws: Add validation for aws_launch_configuration
2015-06-26 15:53:22 +01:00
Radek Simko
685ca374dc
Merge pull request #2520 from TimeIncOSS/f-aws-asg-validation
...
provider/aws: Add validation for aws_autoscaling_group.name
2015-06-26 15:53:14 +01:00
Radek Simko
a91db09efe
provider/aws: Add validation for aws_iam_role.name
2015-06-26 15:44:56 +01:00
Radek Simko
23459ec840
provider/aws: Add validation for aws_autoscaling_group.name
2015-06-26 15:43:06 +01:00
Radek Simko
36fee9a2f5
provider/aws: Add validation for aws_launch_configuration
2015-06-26 15:40:28 +01:00
Radek Simko
7217a37696
Merge pull request #2517 from TimeIncOSS/f-aws-elb-validation
...
provider/aws: Add validation for aws_elb.name
2015-06-26 15:33:18 +01:00
Radek Simko
4230a524a4
Merge pull request #2516 from TimeIncOSS/f-aws-db-instance-id-validation
...
provider/aws: Add validation for aws_db_instance.identifier
2015-06-26 15:30:08 +01:00
Paul Hinze
c928d2803c
Merge pull request #2497 from rgl/master
...
provider/digitalocean: check if the droplet no longer exists.
2015-06-26 09:29:07 -05:00
Radek Simko
ea7395ffe7
Merge pull request #2518 from TimeIncOSS/f-aws-sg-validation
...
provider/aws: Add validation for aws_security_group (name+description)
2015-06-26 15:25:15 +01:00
Paul Hinze
ad0bfd9cfb
Merge pull request #2321 from dpaq/f-add-additonal-protocol-integers-for-acls-and-security-groups
...
provider/aws: add ah and esp protocol integers for network acls and sg
2015-06-26 09:19:07 -05:00
Radek Simko
4525119a57
provider/aws: Add validation for aws_security_group (name+description)
2015-06-26 15:10:04 +01:00
Radek Simko
6f2fb0db38
provider/aws: Add validation for aws_elb.name
2015-06-26 15:08:00 +01:00
Radek Simko
3a9852568a
provider/aws: Add validation for aws_db_instance.identifier
2015-06-26 15:06:36 +01:00
Paul Hinze
d82d803690
Merge pull request #2510 from CpuID/cpuid_gh2509
...
default_cooldown change shouldnt force new resource
2015-06-26 08:55:36 -05:00
Paul Hinze
db11d80947
Merge pull request #2515 from aznashwan/f-azure-instance-services
...
provider/azure: Made instances deployable on already existing services.
2015-06-26 08:54:57 -05:00
Paul Hinze
4a14d83733
Merge pull request #2513 from TimeIncOSS/f-aws-validation-db-subnet-group
...
aws: Add validation for aws_db_subnet_group.name
2015-06-26 08:46:39 -05:00
aznashwan
6ea0397e07
Made instances deployable on already existing services.
2015-06-26 15:49:05 +03:00
Radek Simko
f424085f44
provider/aws: Add validation for aws_vpc.cidr_block
...
- closes #2340
2015-06-26 12:44:26 +01:00
Radek Simko
ca83dc2118
provider/aws: Add validation for aws_db_subnet_group.name
2015-06-26 12:39:55 +01:00
Radek Simko
765be4c768
provider/aws: Fix naming in validation of db_instance.final_snapshot_identifier
2015-06-26 12:10:26 +01:00
Nathan Sullivan
4a791c1b41
default_cooldown change shouldnt force new resource - https://github.com/hashicorp/terraform/issues/2509 - credit to
...
@phinze and @mzupan for https://github.com/hashicorp/terraform/pull/2147
2015-06-26 15:51:31 +10:00
Rui Lopes
02791d70df
provider/digitalocean: check if the droplet no longer exists.
2015-06-25 22:17:56 +01:00
aznashwan
1e08c6e72f
Made Azure security group rules - security groups relationship one - many.
2015-06-25 21:57:38 +03:00
Clint
de5df6f378
Merge pull request #2462 from johnewart/dynamodb_throttle
...
dynamodb - Support backing off a bit when throttling / limit-exceeded exceptions happen
2015-06-25 12:29:09 -05:00
Clint Shryock
2e23210e58
poll ElastiCache cluster status on update
2015-06-25 11:10:02 -05:00
Clint Shryock
93a577880b
provider/aws: Allow in-place updates for ElastiCache cluster
2015-06-25 11:09:29 -05:00
Mitchell Hashimoto
25fa84974b
update CHANGELOG
2015-06-25 09:07:11 -07:00
Mitchell Hashimoto
02624118b3
Merge pull request #2489 from joshgarnett/aws_instance_monitoring
...
provider/aws: adding support for detailed monitoring of instances
2015-06-25 09:05:15 -07:00
Mitchell Hashimoto
ecbd5a5013
Merge pull request #2455 from semarj/master
...
dynamodb - only require nonkey attributes on INCLUDE
2015-06-25 09:03:44 -07:00
Jeff Mitchell
edbc578316
As discussed on the issue, remove the hard-coded delay on startup in
...
favor of attempting to detect if the initial container ever enters
running state, and erroring out if not. It will re-check the container
once every 500ms for 15 seconds total; future work could make that
configurable.
2015-06-25 15:11:00 +00:00
Joshua Garnett
d23f534d26
Adding support for detailed monitoring of instances
2015-06-25 10:58:28 -04:00
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
Sander van Harmelen
61517f68b1
Add an `ohai_hints` option to upload hint files
...
This option takes a list of hints that will be uploaded to the new node
before starting the initial Chef run.
2015-06-25 16:32:36 +02:00
Joshua Semar
7e05b083d3
include keys only projection type
2015-06-25 09:30:44 -05:00
Sander van Harmelen
4c66df0dbf
Merge pull request #2483 from svanharmelen/f-provisioner-chef-ostype
...
provisioner/chef: add an option to specifically specify the target OS
2015-06-25 16:14:23 +02: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
Sander van Harmelen
2690d87d39
Add an option to specifically specify the target OS
...
Before this option (`os_type`) the provisioner would use the connection
type to determine the targeted OS. When not supplying a value for
`os_type`, it will fall back to the old behaviour, so this is full BC.
2015-06-25 14:29:48 +02: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
Aaron Welch
07ad320960
Packet bare metal cloud hosting platform provider
2015-06-07 16:34:08 -04: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
Paul Hinze
6a8456c911
Merge pull request #2168 from svanharmelen/b-chef-provisioner-interpolation
...
provisioner/chef: fix interpolation in the Chef provisioner
2015-06-01 09:02:00 -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
Sander van Harmelen
be56a3a02e
Fix interpolation in the Chef provisioner
...
Turns out to be a pretty obvious bug with a simple fix…
2015-06-01 15:29:43 +02: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
Sander van Harmelen
cef8259923
Adding the last parts of the docs for the new Azure provider
...
Next to the remaining docs, I also updated the code so any Virtual
Network related API calls are now synchronised by using a mutex (thanks
@aznashwan for pointing that out!).
2015-05-29 00:10:21 +02:00
Clint Shryock
db8805dfa5
provider/aws: Fix issue with restoring from snapshot ID
...
Fixes #1862
2015-05-28 11:25:13 -05:00
Clint Shryock
3f68ea7d0e
Merge remote-tracking branch 'upstream/master' into f-aws-volume-attachment
...
* upstream/master: (21 commits)
fix typo
fix typo, use awslabs/aws-sdk-go
Update CHANGELOG.md
More internal links in template documentation.
providers/aws: Requires ttl and records attributes if there isn't an ALIAS block.
Condense switch fallthroughs into expr lists
Fix docs for aws_route53_record params
Update CHANGELOG.md
provider/aws: Add IAM Server Certificate resource
aws_db_instance docs updated per #2070
providers/aws: Adds link to AWS docs about RDS parameters.
Downgrade middleman to 3.3.12 as 3.3.13 does not exist
providers/aws: Clarifies db_security_group usage.
"More more" no more!
Indentation issue
Export ARN in SQS queue and SNS topic / subscription; updated tests for new AWS SDK errors; updated documentation.
Changed Required: false to Optional: true in the SNS topic schema
Initial SNS support
correct resource name in example
added attributes reference section for AWS_EBS_VOLUME
...
2015-05-28 10:13:58 -05:00
Clint Shryock
9329073dae
refactor to poll for status consistently
2015-05-28 10:13:46 -05:00
_jac
a09afbb4aa
add project support https://github.com/xanzy/go-cloudstack/pull/21/files
2015-05-27 18:33:57 -07:00
Sander van Harmelen
a2aeb9f79d
Adding acceptance tests together with a few minor tweaks
2015-05-28 00:51:19 +02:00
Sander van Harmelen
8c3cb400d7
Updated to work with the latest Azure SDK changes
2015-05-28 00:51:19 +02:00
Sander van Harmelen
83e3ab1fc7
Seems to be almost ready...
2015-05-28 00:51:18 +02:00
Sander van Harmelen
1dbd32c6a7
Extending instance resource to enable using custom VM images
2015-05-28 00:51:18 +02:00
Sander van Harmelen
ca1eb1917b
Adding docs and tweaking the provider
2015-05-28 00:51:18 +02:00
Sander van Harmelen
123cd9239c
Updated to use forked azure-sdk-for-go package
2015-05-28 00:51:18 +02:00
Sander van Harmelen
d45f8ac52a
Small update after changes in the Azure SDK
2015-05-28 00:51:18 +02:00
Sander van Harmelen
f8a56ad3d7
Little refactoring and fixing some issues
...
Starting to look pretty nice…
2015-05-28 00:51:18 +02:00
Sander van Harmelen
4e33d898e9
Needs more testing and tests, but it's becoming a nice provider
2015-05-28 00:51:17 +02:00
Sander van Harmelen
84a870a255
First few azure resources...
...
Only the azure_instance is fully working (for both Linux and Windows
instances) now, but needs some tests. network and disk and pretty much
empty, but the idea is clear so will not take too much time…
2015-05-28 00:51:17 +02:00
Clint Shryock
3af25c1b97
refactor volume attachment to not retry attachment
2015-05-27 17:07:34 -05:00
Clint Shryock
c523401f46
provider/aws: Wait for EBS Volume to be available
2015-05-27 17:07:04 -05:00
Clint Shryock
d06f637c74
fix typo, use awslabs/aws-sdk-go
2015-05-27 16:07:38 -05:00
Clint Shryock
214ed23974
provider/aws: AWS Kinesis Stream support
...
Adds a Kinesis Stream resource
2015-05-27 15:54:17 -05:00
Clint
13e2a7cf0e
Merge pull request #2086 from hashicorp/f-aws-iam-server-cert
...
provider/aws: Add IAM Server Certificate resource
2015-05-27 08:34:23 -05:00
Chris Bednarski
1128c64ade
Merge pull request #2093 from sdboyer/master
...
nit: Condense switch fallthroughs into expression lists
2015-05-26 20:40:50 -07:00
Camilo Aguilar
c346da6981
providers/aws: Requires ttl and records attributes if there isn't an ALIAS block.
2015-05-26 22:11:01 -04:00
Sam Boyer
b82bd0c280
Condense switch fallthroughs into expr lists
2015-05-26 21:52:36 -04:00
Clint Shryock
be7ece0ce7
provider/aws: Add IAM Server Certificate resource
2015-05-26 16:40:15 -05:00
Michael Austin
9a8625e6a6
added new provider for creating objects in an s3 bucket
2015-05-26 10:46:06 -04:00
Adam Enger
6799225757
adding all supproted options for db snapshot restore
2015-05-24 20:18:36 -05:00
Adam Enger
b0d2b25b2d
Adding support for snapshot_identifier option which enables restoring a DB from a snapshot
2015-05-24 16:51:35 -05:00
John Ewart
17d9d314d0
Indentation issue
2015-05-22 21:19:43 -07:00
John Ewart
1dd95df5ab
Export ARN in SQS queue and SNS topic / subscription; updated tests for new AWS SDK errors; updated documentation.
2015-05-22 21:12:25 -07:00
John Ewart
0196a0c2ae
Changed Required: false to Optional: true in the SNS topic schema
2015-05-22 20:26:10 -07:00
John Ewart
68734517f8
Initial SNS support
2015-05-22 20:26:10 -07:00
Clint Shryock
fa44e455fa
provider/aws: Add accdeptance test for volume attachment
2015-05-22 17:02:05 -05:00
Clint Shryock
68587eb51e
provider/aws: Add resource_aws_volume_attachment
2015-05-22 16:30:40 -05:00
Clint
11f67ddc39
Merge pull request #2039 from stephenchu/master
...
Added support for 'comment' field for an AWS route53 zone resource.
2015-05-22 07:11:19 -05:00
Clint
b2af84f466
Merge pull request #2026 from hashicorp/f-aws-instance-move-tags
...
providers/aws: Move up where we assign tags on Instance
2015-05-22 06:48:04 -05:00
Clint
338bb50555
Merge pull request #2037 from hashicorp/f-aws-iam-instance-bug
...
provider/aws: Retry RunInstance if IAM profile hasn't propagated
2015-05-22 06:47:50 -05:00
Stephen Chu
5e2e2ffa20
Use Schema Default declaratively instead of defaulting at each payload creation.
2015-05-21 21:23:29 +00:00
Stephen Chu
c2628d8fae
Fixed some whitespacing issues.
2015-05-21 20:16:01 +00:00
Clint
ec06e81cf3
Merge pull request #1946 from hashicorp/f-aws-db-read-replicas
...
provider/aws: Add AWS RDS Read Replica
2015-05-21 15:14:11 -05:00
Paul Hinze
06eb388c3f
provider/template: store relative path in state
...
This makes template_file usage in modules portable.
2015-05-21 15:03:03 -05:00
Stephen Chu
69f4acd5ac
Moved 'comment' DSL definition to be alphabetically sorted.
2015-05-21 20:02:28 +00:00
Clint Shryock
a2baf1d755
provider/aws: Retry RunInstance if IAM profile hasn't propagated
2015-05-21 14:58:34 -05:00
Stephen Chu
cfbd546286
Added support for comment on a route53 zone.
2015-05-21 19:51:53 +00:00
Clint Shryock
6de8f9d180
provider/aws: RDS Read Replica cleanups
...
remove typos, debugging, and try spelling things correctly
2015-05-21 09:49:46 -05:00
Clint
e5f5e1a167
Merge pull request #2007 from iJoinSolutions/2544-terraform-s3-forceDelete
...
provider/aws: force_destroy argument for s3 buckets with objects
2015-05-21 09:43:23 -05:00
Clint Shryock
66372d8d1d
small update to keypair_refresh, to bring in-line with sdk changes
2015-05-21 09:21:57 -05:00
Phil Frost
9e2ecafc46
Handle AWS keypairs which no longer exist
...
When refreshing a keypair, update state appropriately rather than crash
if the keypair no longer exists on AWS.
Likely fixes #1851 .
2015-05-20 20:53:49 -04:00
Michael Austin
dc698e3b67
added force_destroy argument to s3 bucket provider
...
commit a92fe29b909af033c4c57257ddcb6793bfb694aa
Author: Michael Austin <m_austin@me.com>
Date: Wed May 20 16:35:38 2015 -0400
updated to new style of awserr
commit 428271c9b9ca01ed2add1ffa608ab354f520bfa0
Merge: b3bae0e 883e284
Author: Michael Austin <m_austin@me.com>
Date: Wed May 20 16:29:00 2015 -0400
Merge branch 'master' into 2544-terraform-s3-forceDelete
commit b3bae0efdac81adf8bb448d11cc1ca62eae75d94
Author: Michael Austin <m_austin@me.com>
Date: Wed May 20 12:06:36 2015 -0400
removed extra line
commit 85eb40fc7ce24f5eb01af10eadde35ebac3c8223
Author: Michael Austin <m_austin@me.com>
Date: Tue May 19 14:27:19 2015 -0400
stray [
commit d8a405f7d6880c350ab9fccb70b833d2239d9915
Author: Michael Austin <m_austin@me.com>
Date: Tue May 19 14:24:01 2015 -0400
addressed feedback concerning parsing of aws error in a more standard way
commit 5b9a5ee613af78e466d89ba772959bb38566f50e
Author: Michael Austin <m_austin@me.com>
Date: Tue May 19 10:55:22 2015 -0400
clarify comment to highlight recursion
commit 91043781f4ba08b075673cd4c7c01792975c2402
Author: Michael Austin <m_austin@me.com>
Date: Tue May 19 10:51:13 2015 -0400
addressed feedback about reusing err variable and unneeded parens
commit 95e9c3afbd34d4d09a6355b0aaeb52606917b6dc
Merge: 2637edf db095e2
Author: Michael Austin <m_austin@me.com>
Date: Mon May 18 19:15:36 2015 -0400
Merge branch 'master' into 2544-terraform-s3-forceDelete
commit 2637edfc48a23b2951032b1e974d7097602c4715
Author: Michael Austin <m_austin@me.com>
Date: Fri May 15 15:12:41 2015 -0400
optimize delete to delete up to 1000 at once instead of one at a time
commit 1441eb2ccf13fa34f4d8c43257c2e471108738e4
Author: Michael Austin <m_austin@me.com>
Date: Fri May 15 12:34:53 2015 -0400
Revert "hook new resource provider into configuration"
This reverts commit e14a1ade5315e3276e039b745a40ce69a64518b5.
commit b532fa22022e34e4a8ea09024874bb0e8265f3ac
Author: Michael Austin <m_austin@me.com>
Date: Fri May 15 12:34:49 2015 -0400
this file should not be in this branch
commit 645c0b66c6f000a6da50ebeca1d867a63e5fd9f1
Author: Michael Austin <m_austin@me.com>
Date: Thu May 14 21:15:29 2015 -0400
buckets tagged force_destroy will delete all files and then delete buckets
commit ac50cae214ce88e22bb1184386c56b8ba8c057f7
Author: Michael Austin <m_austin@me.com>
Date: Thu May 14 12:41:40 2015 -0400
added code to delete policy from s3 bucket
commit cd45e45d6d04a3956fe35c178d5e816ba18d1051
Author: Michael Austin <m_austin@me.com>
Date: Thu May 14 12:27:13 2015 -0400
added code to read bucket policy from bucket, however, it's not working as expected currently
commit 0d3d51abfddec9c39c60d8f7b81e8fcd88e117b9
Merge: 31ffdea 8a3b75d
Author: Michael Austin <m_austin@me.com>
Date: Thu May 14 08:38:06 2015 -0400
Merge remote-tracking branch 'hashi_origin/master' into 2544-terraform-s3-policy
commit 31ffdea96ba3d5ddf5d42f862e68c1c133e49925
Author: Michael Austin <m_austin@me.com>
Date: Wed May 13 16:01:52 2015 -0400
add name for use with resouce id
commit b41c7375dbd9ae43ee0d421cf2432c1eb174b5b0
Author: Michael Austin <m_austin@me.com>
Date: Wed May 13 14:48:24 2015 -0400
Revert "working policy assignment"
This reverts commit 0975a70c37eaa310d2bdfe6f77009253c5e450c7.
commit b926b11521878f1527bdcaba3c1b7c0b973e89e5
Author: Michael Austin <m_austin@me.com>
Date: Wed May 13 14:35:02 2015 -0400
moved policy to it's own provider
commit 233a5f443c13d71f3ddc06cf034d07cb8231b4dd
Merge: e14a1ad c003e96
Author: Michael Austin <m_austin@me.com>
Date: Wed May 13 12:39:14 2015 -0400
merged origin/master
commit e14a1ade5315e3276e039b745a40ce69a64518b5
Author: Michael Austin <m_austin@me.com>
Date: Wed May 13 12:26:51 2015 -0400
hook new resource provider into configuration
commit 455b409cb853faae3e45a0a3d4e2859ffc4ed865
Author: Michael Austin <m_austin@me.com>
Date: Wed May 13 12:26:15 2015 -0400
dummy resource provider
commit 0975a70c37eaa310d2bdfe6f77009253c5e450c7
Author: Michael Austin <m_austin@me.com>
Date: Wed May 13 09:42:31 2015 -0400
working policy assignment
commit 3ab901d6b3ab605adc0a8cb703aa047a513b68d4
Author: Michael Austin <m_austin@me.com>
Date: Tue May 12 10:39:56 2015 -0400
added policy string to schema
2015-05-20 19:06:27 -04:00
Clint Shryock
12e69084ef
providers/aws: Move up where we assign tags on Instance
2015-05-20 15:33:01 -05:00
Clint Shryock
6b6aa867c0
update read replica acceptance test
2015-05-20 09:28:33 -05:00
Clint Shryock
dc164c454e
remove default here
2015-05-20 08:26:05 -05:00
Clint Shryock
f346187948
provider/aws: Add RDS Read Replica support
2015-05-20 08:25:38 -05:00
Paul Hinze
31258e06c6
provider/aws: fix breakages from awserr refactor
...
This landed in aws-sdk-go yesterday, breaking the AWS provider in many places:
3c259c9586
Here, with much sedding, grepping, and manual massaging, we attempt to
catch Terraform up to the new `awserr.Error` interface world.
2015-05-20 06:21:23 -05:00
Alexander Dupuy
739a411b4d
debug security group ids
2015-05-18 23:02:19 +02:00
Clint Shryock
f6bcc302d3
providers/aws+cloudflare+dnsimple: Increase some verbosity
2015-05-18 15:25:03 -05:00
Justin Campbell
89f0def721
providers/aws: Normalize S3 bucket policy
...
AWS always returns a compressed JSON body, without spaces or newlines, so we round-trip the JSON before storing in the state.
2015-05-18 13:10:44 -04:00
Justin Campbell
4b17554993
providers/aws: test S3 policy unmarshaled JSON
2015-05-18 13:10:44 -04:00
Justin Campbell
9c764a3253
providers/aws: Add support for policy on S3 bucket
2015-05-18 13:10:44 -04:00
Dave Cunningham
419b4f02d2
Merge autoscaler & instance group PR from dwatson
...
Additionally:
Update CHANGELOG
Make cooldown period optional for autoscaler
Refactor autoscaler and add more error checking
Instance template now supports image aliases
Replace instance group manager 'size' -- use target_size (now writeable)
Add documentation for autoscaler
Add beta warnings to docs
2015-05-16 20:14:38 -04:00
Clint
9f52192a79
Merge pull request #1939 from johnewart/sqs
...
Initial SQS support
2015-05-15 15:44:52 -05:00
John Ewart
d538194f59
Added docs, tests, and updated SQS code
2015-05-15 13:09:20 -07:00
Clint Shryock
af09f257c8
fix regression in networkacl with conflicts with
2015-05-15 14:38:06 -05:00
Paul Hinze
e1ea427649
provider/aws: support ec2 termination protection
...
closes #1233
2015-05-15 15:20:58 -04:00
John Ewart
8dd479dbe0
Initial SQS support
2015-05-15 11:37:07 -07:00
Clint Shryock
0021906bda
fix minor regression with subnet_id
2015-05-15 10:58:59 -05:00
Clint Shryock
5113761f41
Merge branch 'f-aws-network-subnet-ids'
...
* f-aws-network-subnet-ids:
document Network ACL Subnet IDs attribute
provider/aws: Add tests for Network ACL subnets
upgrade to use typeset for subnet_ids
network acl cleanups
provider/aws: Support multiple subnets in Network ACL
2015-05-15 09:58:57 -05:00
Justin Campbell
e68dd5a8bf
Merge pull request #1909 from justincampbell/s3-redirect
...
providers/aws: Add support for S3 website redirect
2015-05-15 09:32:39 -04:00
Clint Shryock
d9521efbf6
provider/aws: Add tests for Network ACL subnets
2015-05-14 20:57:07 -05:00
Clint Shryock
468de49265
upgrade to use typeset for subnet_ids
2015-05-14 17:09:50 -05:00
John Engelman
bd6ff34aa2
Retrieve nameservers for private hosted zone.
2015-05-14 16:04:37 -05:00
John Engelman
a6fdb04829
Only d.Set("vpc_region") when creating a private zone.
2015-05-14 16:04:37 -05:00
John Engelman
3275ab0ba1
update acceptance test function names
2015-05-14 16:04:37 -05:00
John Engelman
b784908491
Add documentation and changelog for route53_zone_association
2015-05-14 16:04:36 -05:00
John Engelman
766aead4a5
Add tests for cross region VPC associations.
2015-05-14 16:03:51 -05:00
John Engelman
3507c0618b
cleanup of zone_association resource
2015-05-14 16:03:51 -05:00
Panagiotis Moustafellos
9da89974fc
fix vpc_region param check
2015-05-14 16:03:51 -05:00
Panagiotis Moustafellos
d02e247fc7
renamed region to vpc_region for clarity and made optional, updated tests
2015-05-14 16:03:51 -05:00
Panagiotis Moustafellos
450c42f166
keep clean changeinfo as res id
2015-05-14 16:03:51 -05:00
Panagiotis Moustafellos
9c8748d2dc
providers/aws: resource aws_route53_zone_association
2015-05-14 16:03:51 -05:00
John Engelman
052ff83670
Handle public zones correctly. Check for associate when reading.
2015-05-14 16:03:51 -05:00
John Engelman
8e62a14f29
verify VPC association on private zone
2015-05-14 16:03:50 -05:00
John Engelman
a51bc6007d
DelegationSet is not support in private zones.
2015-05-14 16:03:50 -05:00
John Engelman
bf97d6a80f
AWS/Route53Zone - create private hosted zone associated with VPC.
2015-05-14 16:03:50 -05:00
Paul Hinze
e47987651e
Merge pull request #1970 from hashicorp/f-asg-wait-for-elb-inservice
...
provider/aws: ASGs can wait for ELB InService
2015-05-14 15:09:45 -05:00
Paul Hinze
b56a42627f
provider/aws: ASGs can wait for ELB InService
...
This enhances the waiting strategy introduced in #1839 to wait for each
ASG instance to become InService in attached ELBs before continuing.
2015-05-14 15:03:53 -05:00
Clint
0b548a4a99
Merge pull request #1965 from hashicorp/f-export-cache-cluster-endpoints
...
provider/aws: export elasticache nodes
2015-05-14 14:05:33 -05:00
Clint Shryock
d81e63cc3c
provider/aws: ElastiCache test updates
...
- rename test to have _basic suffix, so we can run it individually
- use us-east-1 for basic test, since that's probably the only region that has
Classic
- update the indexing of nodes; cache nodes are 4 digits
2015-05-14 13:57:01 -05:00
Clint Shryock
10fc184c97
add tags helper library for ElastiCache
2015-05-14 12:32:40 -05:00
Mitchell Hashimoto
32f6eb77f3
Merge pull request #1960 from hashicorp/b-lc-ami
...
provider/aws: bad AMI won't block LC refresh [GH-1901]
2015-05-14 09:58:58 -07:00
Clint Shryock
2809280e98
cleanup
2015-05-14 11:51:08 -05:00
Clint Shryock
d8f3783d09
provider/aws: Add tag support to ElastiCache
2015-05-14 11:44:24 -05:00
Clint Shryock
aad0808cc5
make parameter group optional
2015-05-14 11:12:07 -05:00
Clint Shryock
a552db0c8c
provider/aws: ElastiCache enhancements
...
- request cache node info
- read after create, to populate nodes
2015-05-14 11:10:21 -05:00
Paul Hinze
7d9ee79660
provider/aws: add license_model to db_instance
2015-05-14 09:57:51 -05:00
Paul Hinze
6f3ce6bf3c
WIP export cache nodes
...
Needs to wait for len(cluster.CacheNodes) == cluster.NumCacheNodes, since
apparently that takes a bit of time and the initial response always has
an empty collection of nodes
2015-05-14 09:16:39 -05:00
Mitchell Hashimoto
e7c6cb22c5
provider/aws: bad AMI won't block LC refresh [GH-1901]
2015-05-13 20:28:36 -07:00
Joe Topjian
4daaacd292
Minor volume fixes
...
This commit follows suit of #1897 by fixing volume-related
parameters which allow the volume attach acceptance test
to work. It also re-enables the volume attach test.
2015-05-14 02:59:21 +00:00
Clint Shryock
898fa91595
network acl cleanups
2015-05-12 22:23:55 -05:00
Sander van Harmelen
4e0aa334fa
Merge pull request #1868 from svanharmelen/f-chef-client-provisioner
...
New provisioner for Chef-Client
2015-05-12 23:06:09 +02:00
Clint Shryock
f7b6b6b2b5
Strip 'sdk' suffix from methods; it's a remnant
2015-05-12 14:58:10 -05:00
Dave Cunningham
372908cc6f
Merge pull request #980 from BashtonLtd/gce_instance_template_network_update
...
Update Instance Template network definition to match changes to Instance.
2015-05-12 15:46:04 -04:00
Clint Shryock
0dda704cbf
provider/aws: Support multiple subnets in Network ACL
2015-05-12 13:50:28 -05:00
Dave Cunningham
e27393af41
Merge pull request #1894 from dcarley/gce_health_check_defaults
...
provider/gce: Fix updates for http_health_check (set defaults)
2015-05-12 12:29:40 -04:00
Justin Campbell
b8cd6b2bae
providers/aws: Add support for S3 website redirect
2015-05-12 11:24:08 -04:00
Sander van Harmelen
11314a3d71
Tweaking a few minor things according to the feedback on GH
2015-05-12 10:37:38 +02:00
Radek Simko
931d05198c
Merge pull request #1886 from TimeIncOSS/subnet-timeout-fix
...
Increase subnet & security group deletion timeout (2 -> 5 mins)
2015-05-12 07:02:28 +01:00
Dave Cunningham
5f15a9d26a
Allow local SSDs, Fix #1088
2015-05-11 21:40:37 -04:00
Joe Topjian
7ca7eeabe7
Added scheduler_hints to the OpenStack instance resource.
...
This allows various hints to be passed to the OpenStack scheduler
that will determine where the instance will be hosted in the cloud.
2015-05-12 01:08:20 +00:00
Joe Topjian
b74e74fc16
ServerGroup Resource
...
This commit adds a server group resource. Users can create server
groups with different policies. If a server is launched in a certain
group, the server will adhere to that policy. For example, servers
can be made to all launch on the same compute node or different compute
nodes.
2015-05-12 01:08:19 +00:00
Mitchell Hashimoto
e1627883b2
Merge pull request #1907 from PeopleNet/rds-update
...
provider/aws: Closes #1906 . Only submit modification requests if there is a change
2015-05-11 16:38:02 -07:00
Mitchell Hashimoto
c9b483d92a
Merge pull request #1910 from PeopleNet/rds-tags
...
Closes #1908 . Parse AccountId from User ARN for RDS tags
2015-05-11 16:37:10 -07:00
Mitchell Hashimoto
cc28d04777
Merge pull request #1911 from hashicorp/b-template-diffs
...
provider/template: don't diff when there's no diff
2015-05-11 16:34:09 -07:00
John Engelman
1798df8e03
Closes #1906 . Only submit modification requests if there is a change
2015-05-11 11:49:43 -05:00
Paul Hinze
a96a3372c6
provider/template: don't diff when there's no diff
...
This reworks the template lifecycle a bit such that we get nicer diff
behavior.
First, we tick ForceNew on for both filename and vars, so that the diff
indicates that the template will be "replaced" on change. This is mostly
cosmetic, but it also tracks conceptually with the fact that the
identifier we use is a hash of the contents, so any change essentially
makes a "new resource".
Second, we change the Exists implementation to only return `false` when
there has been a change in the rendered template. This lets descendent
resources see the computed value changing so that they'll properly
trigger in the plan.
Fixes #1898
Refs #1866 (but does not fix, there's another deeper issue there)
2015-05-11 10:38:19 -05:00
Paul Hinze
2783521960
Merge pull request #1897 from jtopjian/openstack-acctest-fixes
...
provider/openstack: Acceptance Test Fixes
2015-05-11 10:35:24 -05:00
John Engelman
04214c8c1a
Closes #1908 . Parse AccountId from User ARN for RDS tags
2015-05-11 10:32:06 -05:00
Sander van Harmelen
a8dacede24
Improved some logging...
...
I added a debug log line in the last commit, only to find out it’s now
logging the same info twice. So removed the double entry and tweaked
the existing once.
2015-05-11 15:18:32 +02:00
Joe Topjian
9c27194ee1
gofmt fixes
2015-05-11 00:58:16 +00:00
Dan Carley
579c37cd74
provider/gce: Set defaults for http_health_check
...
In order to fix the failing test in the preceding commit when optional
params are changed from their default "computed" values.
These weren't working well with `HttpHealthCheck.Patch()` because it was
attempting to set all unspecified params to Go's type defaults (eg. 0 for
int64) which the API rejected.
Changing the call to `HttpHealthCheck.Update()` seemed to fix this but it
still didn't allow you to reset a param back to it's default by no longer
specifying it.
Settings defaults like this, which match the Terraform docs, seems like the
best all round solution. Includes two additional tests for the acceptance
tests which verify the params are really getting set correctly.
2015-05-10 21:20:40 +01:00
Dan Carley
13e9e6f51d
provider/gce: Test updates to http_health_check
...
By first creating a very simple resource that mostly uses the default
values and then changing the two thresholds from their computed defaults.
This currently fails with the following error and will be fixed in a
subsequent commit:
--- FAIL: TestAccComputeHttpHealthCheck_update (5.58s)
testing.go:131: Step 1 error: Error applying: 1 error(s) occurred:
* 1 error(s) occurred:
* 1 error(s) occurred:
* Error patching HttpHealthCheck: googleapi: Error 400: Invalid value for field 'resource.port': '0'. Must be greater than or equal to 1
More details:
Reason: invalid, Message: Invalid value for field 'resource.port': '0'. Must be greater than or equal to 1
Reason: invalid, Message: Invalid value for field 'resource.checkIntervalSec': '0'. Must be greater than or equal to 1
Reason: invalid, Message: Invalid value for field 'resource.timeoutSec': '0'. Must be greater than or equal to 1
2015-05-10 21:20:32 +01:00
Dan Carley
88f4df28ac
provider/gce: Fix whitespace in test fixture
...
Mixture of hard and soft tabs, which isn't picked up by `go fmt` because
it's inside a string. Standardise on hard-tabs since that is what's used
in the rest of the code.
2015-05-10 21:06:33 +01:00
Joe Topjian
fe668a1ac7
Fixing TestAccFWPolicyV1
2015-05-10 04:39:00 +00:00
Joe Topjian
a6b9a63231
Fixing TestAccFWFirewallV1
2015-05-10 04:38:36 +00:00
Joe Topjian
4811112a6a
Fixing TestAccNetworkingV2Subnet_basic
2015-05-10 04:38:06 +00:00
Joe Topjian
feb5a3c6bb
Fixing TestAccNetworkingV2RouterInterface_basic
2015-05-09 23:04:45 +00:00
Joe Topjian
1e7a227ea6
Fixing TestAccNetworkingV2FloatingIP_basic
2015-05-09 22:58:25 +00:00
Joe Topjian
5535a9ba32
Fixing TestAccLBV1Pool_basic
2015-05-09 22:43:40 +00:00