Commit Graph

2384 Commits

Author SHA1 Message Date
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
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 979c86ec26 Fix styling... 2015-09-27 19:56:44 -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
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
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
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
thrashr888 55f3c8c764 provider/aws: aws_elasticache_cluster normalizes name to lowercase 2015-09-14 16:50:53 -07: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