Joe Topjian
352d6abfd7
Merge pull request #3232 from jtopjian/openstack-bootfromvolume-image-fixes
...
provider/openstack: Boot From Volume and Image Handling Fixes
2015-11-03 13:57:18 +09:00
Dave Cunningham
519756c42a
Merge pull request #3722 from lwander/f-gcp-url-maps
...
provider/google: Added url map resource + tests & documentation
2015-11-02 17:29:29 -05:00
Lars Wander
ccb3f92bd1
provider/google: Added url map resource + tests & documentation
2015-11-02 17:12:41 -05:00
Clint
cb8962a6c6
Merge pull request #3710 from stack72/f-aws-asg-generated-name
...
provider/aws: Making the AutoScalingGroup name optional
2015-11-02 16:07:49 -06:00
Clint
6492853e84
Merge pull request #3513 from iJoinSolutions/5873-terraform-snapshot-security-v6.3
...
Provider/aws Apply security group after restoring db_instance from snapshot
2015-11-02 15:06:02 -06:00
stack72
4f05df6cad
When I was setting the update parameters for the Snapshotting, I didn't update the copy/pasted params
2015-11-02 20:57:04 +00:00
Dave Cunningham
232a538c14
Merge pull request #3723 from lwander/f-gcp-ssl-certs
...
provider/google: SSL Certificates resource + tests & documentation
2015-11-02 14:44:19 -05:00
Lars Wander
f70d4079c1
provider/google: SSL Certificates resource + tests & documentation
2015-11-02 14:35:51 -05:00
Dave Cunningham
6ac8290f12
Merge pull request #3701 from lwander/f-gcp-global-address
...
provider/google: global address + tests & documentation
2015-11-02 13:29:36 -05:00
Takaaki Furukawa
12fc9a1d78
Fix acceptance tests for using optional parameters at different environment
2015-11-01 13:04:56 +09:00
Joe Topjian
4a5cd0b415
provider/openstack: Fixing Image ID/Name areas
...
This commit cleans up areas that configure the image_id and image_name.
It enables the ability to not have to specify an image_id or image_name
when booting from a volume.
It also prevents Terraform from reporting an error when an image name is no
longer able to be resolved from an image ID. This usually happens when the
image has been deleted, but there are still running instances that were based
off of it.
The image_id and image_name parameters no longer immediately take a default
value from the OS_IMAGE_ID and OS_IMAGE_NAME environment variables. If no other
resolution of an image_id or image_name were found, then these variables will
be referenced. This further supports booting from a volume.
Finally, documentation was updated to take into account booting from a volume.
2015-10-31 22:45:34 +00:00
Joe Topjian
3d3f8122a9
provider/openstack: Volume Cleanup
...
This commit cleans up the volume and block device handling in the instance
resource. It also adds more acceptance tests to deal with different workflows
of attaching and detaching a volume through the instance's lifecycle.
No new functionality has been added.
2015-10-31 22:45:34 +00:00
Joe Topjian
e75553fd9d
provider/openstack: Fixes Boot From Volume
...
This commit fixes the previously broken "boot from volume" feature. It also
adds an acceptance test to ensure the feature continues to work.
The "delete_on_termination" option was also added.
2015-10-31 22:45:28 +00:00
Patrick Gray
8fcc13adbc
update aws_iam_group tests to check proper paths and name
2015-10-31 12:04:54 -04:00
Patrick Gray
6a2d3eaa6b
remove unneeded print function
2015-10-31 10:52:12 -04:00
Joe Topjian
cc2b3677e6
Merge pull request #3091 from berendt/openstack_subnet_ip_default
...
provider/openstack: use '4' as default for ip_version of subnet
2015-10-31 22:15:48 +09:00
stack72
69b905fb92
Making the AutoScalingGroup name optiona
2015-10-31 09:24:46 +00:00
stack72
7dd15469a5
Adding the ability to specify a snapshot window and retention limit for Redis ElastiCache clusters
2015-10-31 00:09:20 +00:00
Paul Hinze
5b78a9f635
provider/aws: var name tweak
...
as discussed in #3274 w/ @stack72
2015-10-30 17:50:57 -05:00
Paul Hinze
3a7fa866c1
Merge pull request #3274 from stack72/aws-codecommit
...
provider/aws: CodeCommit - Currently only in us-east-1
2015-10-30 17:41:28 -05:00
Joe Topjian
776f15f0f3
provider/openstack: added acceptance test to test security group order
2015-10-30 22:31:41 +00:00
stack72
63d7f5993d
Changing the AWS CodeCommit Connection Initiation to use the new session based work
2015-10-30 22:23:28 +00:00
Lars Wander
4ec1da4c86
provider/google: global address + tests & documentation
2015-10-30 17:57:09 -04:00
stack72
14604e432e
Added the documentation for the CodeCommit repository
2015-10-30 21:39:16 +00:00
stack72
2ad006ab50
Currently, AWS CodeCommit is only available in us-east-1, therefore we
...
need to error out early if the region is anything other than this
Also added a test that will show that changes get applied on subsequent
runs
2015-10-30 21:39:16 +00:00
stack72
d9fd77c141
Finishing the last of the CodeCommit Repository resource. Also started to add some tests. The trouble for me right now is that CodeCommit is only in US-East-1 so I need to guard against that right now
2015-10-30 21:39:16 +00:00
stack72
89ce6f7c83
Started the work for the AWS CodeCommit Repository resource
...
Starting to add the skeleton for the creation and update of a repository
2015-10-30 21:39:04 +00:00
Dave Cunningham
8ff8f17add
Merge pull request #3667 from lwander/f-gcp-instance-template-preemptible
...
provider/google: Added `preemtible` flag to `instance_template`
2015-10-30 17:38:15 -04:00
Dave Cunningham
f562d17a13
Merge pull request #3617 from lwander/f-gcp-sql-instance
...
provider/google: SQL instance & database tests & documentation
2015-10-30 17:36:28 -04:00
Lars Wander
2da1ba0118
provider/google: Added `preemtible` flag to `instance_template`
2015-10-30 16:07:11 -04:00
Lars Wander
07de5e7260
provider/google: SQL instance & database tests & documentation
2015-10-30 15:35:29 -04:00
clint shryock
3f2a0ee743
provider/aws: Refresh SNS Topic updates in event of IAM role failure
...
- encode the json policy to match what we get back from the API
- retry if the IAM resource isn't yet available
- include regression test
2015-10-30 12:09:44 -05:00
Clint
4db8ef4a45
Merge pull request #3529 from hashicorp/b-aws-rds-copy-tags-to-snapshots
...
provider/aws: Add configuration to enable copying RDS tags to final snapshot
2015-10-30 09:09:41 -05:00
Joe Topjian
beab5619e2
Merge pull request #3651 from Sheile/ignore-sg-order
...
provider/openstack: Ignore order of security_groups in instance
2015-10-30 22:35:06 +09:00
Joe Topjian
6ce3b32392
Merge pull request #3696 from jtopjian/openstack-secgroup-safe-delete
...
provider/openstack: Safe Security Group Delete
2015-10-30 22:11:23 +09:00
Joe Topjian
c4c480bb92
provider/openstack: Safe SecGroup Delete
...
This commit enables security groups to be deleted in a safe way by
checking their state over a period of time.
This fixes occurrences when the API says the instance is deleted but
it is still in the process of being deleted by OpenStack and thus the
security group returns an error saying that there are still instances
attached to the group.
2015-10-30 13:03:26 +00:00
Paul Hinze
ee4033edbd
Merge pull request #3695 from aznashwan/b-azure-fixes
...
provider/Azure: various bugfixes
2015-10-30 07:51:41 -05:00
Nashwan Azhari
bf09edc642
provider/Azure: fixes:
...
added wait on instance deletion for associated blob deletion.
added guarding Mutex for secgroup-rule-related concurrent operations.
added usage warning on secgroup rules.
2015-10-30 02:57:47 +02:00
Joe Topjian
fd8dba4827
provider/openstack: add state 'creating' to blockstorage_volume_v1
...
This commit adds the "creating" status to the Pending phases of creating a
block storage device.
Closes #3224
2015-10-29 19:01:24 -05:00
Paul Hinze
fe2bf2d473
Merge pull request #3440 from ggiamarchi/openstack/idempotency
...
Fix OpenStack provider idempotency bugs
2015-10-29 18:57:02 -05:00
Paul Hinze
cadbbbae08
aws: fix build after upstream breaking change
...
see
1a69d06935
2015-10-29 18:52:10 -05:00
clint shryock
ec2d22cf29
update with go fmt
2015-10-29 17:10:44 -05:00
Clint
5c3c1e2327
Merge pull request #3548 from MDL/aws_route
...
provider/aws: add aws_route resource (finish)
2015-10-29 17:06:56 -05:00
Michael Austin
a0322f9b8c
go fmt
2015-10-29 17:55:23 -04:00
Michael Austin
5448e01269
removed extraneous debug code and clarified INFO logging
2015-10-29 17:53:40 -04:00
Paul Hinze
845e1726dd
Merge pull request #3633 from aybabtme/provider/digitalocean-fix-issue-3628
...
provider/digitalocean: fix issue #3628 by accepting SSH fingerprints
2015-10-29 15:44:51 -05:00
Paul Hinze
73569dc83c
Merge pull request #3616 from Vlatombe/GH-3615
...
provider/aws: ignore association not exist on route table destroy [GH-3615]
2015-10-29 14:56:16 -05:00
Paul Hinze
32ae193e94
Merge pull request #2778 from apparentlymart/tls
...
TLS utility provider
2015-10-29 14:51:06 -05:00
Clint
cc0b941ba2
Merge pull request #3685 from stack72/f-aws-s3bucket-arn
...
Adding a computed ARN for the S3 Bucket as per #3666
2015-10-29 11:09:54 -05:00
stack72
8eec0c896f
Adding a computed ARN for the S3 Bucket as per #3666
2015-10-29 13:33:35 +00:00
Clint
cb2ecf5733
Merge pull request #3255 from Runscope/local-kinesis
...
provider/aws: allow local kinesis
2015-10-29 08:24:07 -05:00
Paul Hinze
38c20a58c7
Merge pull request #3636 from rakutentech/fix-connection-info
...
provider/vsphere: Fix d.SetConnInfo error in case of a missing IP address
2015-10-29 07:28:16 -05:00
Radek Simko
678c7e905a
Merge pull request #3094 from TimeIncOSS/f-aws-cloudtrail
...
provider/aws: Add support for CloudTrail
2015-10-29 07:03:17 +00:00
clint shryock
2cd47ec195
add test for elasticache cluster and topic arn
2015-10-28 14:09:45 -05:00
clint shryock
9aeb04909c
Merge branch 'master' into pr-2836
...
* master: (335 commits)
Update CHANGELOG.md
config: return to the go1.5 generated lang/y.go
Update CHANGELOG.md
Allow cluster name, not only ARN for aws_ecs_service
Update CHANGELOG.md
Add check errors on reading CORS rules
Update CHANGELOG.md
website: docs for null_resource
dag: use hashcodes to as map key to edge sets
Update CHANGELOG.md
Update CHANGELOG.md
Update CHANGELOG.md
Use hc-releases
provider/google: Added scheduling block to compute_instance
Use vendored fastly logo
Use releases for releases
Update CHANGELOG.md
Update CHANGELOG.md
Update vpn.tf
Update CHANGELOG.md
...
2015-10-28 13:20:10 -05:00
Radek Simko
7265bdaaf0
aws: Add acceptance test for aws_cloudtrail
2015-10-28 17:13:14 +00:00
Radek Simko
a618b048cf
aws: Add support for aws_cloudtrail
2015-10-28 17:13:14 +00:00
Radek Simko
91f4be2261
Merge pull request #3668 from TimeIncOSS/b-aws-ecs-cluster-arn
...
provider/aws: Allow cluster name, not only ARN for aws_ecs_service
2015-10-28 16:28:47 +00:00
Radek Simko
0d8d6fde79
Merge pull request #2636 from TimeIncOSS/f-aws-cloudformation
...
provider/aws: Add aws_cloudformation_stack
2015-10-28 16:16:14 +00:00
Radek Simko
784aadd505
Allow cluster name, not only ARN for aws_ecs_service
2015-10-28 15:43:42 +00:00
Clint
5cedd64a15
Merge pull request #3387 from kjmkznr/s3-cors
...
provider/aws: Add CORS settings to S3 bucket
2015-10-28 10:09:44 -05:00
Eloy Coto
8c49403132
Vsphere_virtual_machine: Keep template as it is and apply the
...
customizations and add devices in the new server. When finished PowerOn
2015-10-28 07:43:43 +00:00
Yo Takezawa
59828deb0f
provider/openstack: Use security_groups as native set when update
2015-10-28 10:12:05 +09:00
Kazunori Kojima
122790d32b
Add check errors on reading CORS rules
2015-10-28 09:19:37 +09:00
Paul Hinze
1152ee9a53
Merge pull request #3244 from Banno/make-null-resource-more-useful
...
Add triggers to the null_resource
2015-10-27 13:30:54 -05:00
Eloy Coto
8dd4b155e0
Vsphere_virtual_machine: Delete all network interfaces from template
...
before added new one. Fixes #3559 and #3560
2015-10-27 09:43:01 +00:00
Yo Takezawa
d2cf45a057
provider/openstack: Ignore order of security_groups in instance
2015-10-27 15:57:28 +09:00
Dave Cunningham
66336f577a
Merge pull request #3643 from lwander/f-gcp-instance-scheduling
...
provider/google: Added scheduling block to compute_instance
2015-10-26 19:29:33 -04:00
Clint
3ce656b007
Merge pull request #2890 from pforman/asg-termination
...
Update AWS ASG termination policy code and tests
2015-10-26 16:42:53 -05:00
Lars Wander
5a311dbd11
provider/google: Added scheduling block to compute_instance
2015-10-26 16:16:06 -04:00
BSick7
e0aad68ef1
Relying on `ForceNew` for `destination_cidr_block` since it is part of the unique id instead of manually recreating the resource.
2015-10-26 13:45:21 -04:00
BSick7
e4465adca5
Removing usage of awsutil.Prettify.
2015-10-26 13:38:17 -04:00
Dave Cunningham
c0bf7aecb3
Merge pull request #3554 from lwander/f-gcp-version
...
provider/google: Accurate Terraform Version
2015-10-26 02:59:51 -04:00
Dave Cunningham
a4eee72c78
Merge pull request #3620 from lwander/b-gcp-large-instance-group-timeout
...
provider/google: Fixed timeout bug on large instance groups
2015-10-26 02:56:18 -04:00
Takaaki Furukawa
8390154968
provider/vsphere: Fix d.SetConnInfo error in case of a missing IP address
2015-10-26 10:32:19 +09:00
Antoine Grondin
7594c09623
provider/digitalocean: fix issue #3628 by accepting SSH fingerprints
2015-10-25 16:29:01 -04:00
Daniel Imfeld
f23a8bfe4e
Update list of GCE service scope short names
2015-10-23 17:58:04 -05:00
Lars Wander
0c81a9c108
provider/google: Fixed timeout bug on large instance groups
2015-10-23 15:12:53 -04:00
Vincent Latombe
44e93526a1
provider/aws: ignore association not exist on route table destroy
...
[GH-3615]
2015-10-23 15:03:54 +02:00
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
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