stack72
96ad95abe9
Adds an acceptance test for the AWS Network ACL Rules
2015-12-18 23:14:54 +00:00
stack72
2df8d7d9b0
Initial Scaffolding of the AWS Network ACL Entry resource
2015-12-18 23:14:54 +00:00
James Nugent
30f9d61a95
Merge pull request #4387 from justnom/master
...
provider/aws: EIP not noticing it has been unassigned from an ENI
2015-12-18 17:32:55 -05:00
Jesse Szwedko
48bfd67296
Add support for creating connectors to aws_directory_service_directory
...
This adds support for creating AD Connectors. It is pretty close to the
same as creating AD and simple directories so we reuse the resource.
2015-12-18 21:42:54 +00:00
James Nugent
ceee811625
Merge pull request #4381 from hashicorp/f-nat-gateway
...
provider/aws: Support for aws_nat_gateway
2015-12-18 16:00:42 -05:00
clint shryock
3b21fbc1bc
provider/aws: Update VPC Endpoint to correctly set route table ids, and read after update
2015-12-18 14:18:30 -06:00
Clint
058b55635e
Merge pull request #4264 from h-imaoka/b-aws-vpce-fix
...
providers_aws_vpce issue #4137
2015-12-18 14:10:01 -06:00
Jesse Szwedko
2d06381824
Increase aws_directory_service_directory timeouts
...
According to the AWS docs, creating a MS directory could take up to 25
minutes.
2015-12-18 20:07:34 +00:00
Jesse Szwedko
6bf1011df4
Validate type earlier for aws_directory_service_directory
...
Also DRY it up a little
2015-12-18 19:56:58 +00:00
Radek Simko
b120f8c123
Merge pull request #4372 from TimeIncOSS/b-cf-deleted-fix
...
provider/aws: Treat CF stacks in DELETE_COMPLETE state as deleted
2015-12-18 20:44:11 +01:00
James Nugent
0bdf249f2c
provider/aws: Add aws_nat_gateway Resource
2015-12-18 14:12:27 -05:00
Jesse Szwedko
82fe67f7fc
Add support for creating Managed Microsoft Active Directory in AWS
...
This action is almost exactly the same as creating a SimpleAD so we
reuse this resource and allow the user to specify the type when creating
the directory (ignoring the size if the type is MicrosoftAD).
2015-12-18 18:24:51 +00:00
Martin Atkins
e971688151
Merge pull request #4301 from apparentlymart/rundeck-task-project-issue
...
Only refresh project name if Rundeck server provides it
2015-12-18 09:43:48 -08:00
Clint
e273fe6cfc
Merge pull request #3663 from semarj/master
...
get profile name even if profile path exists
2015-12-18 10:55:23 -06:00
James Nugent
8e538b68ec
Fix errors with gofmt compliance
2015-12-17 12:35:19 -05:00
Radek Simko
4e408d1593
provider/aws: CloudFormation - Add regression test for #4332
2015-12-17 18:00:09 +01:00
Radek Simko
f017d2d2d6
aws: Treat CF stacks in DELETE_COMPLETE state as deleted
2015-12-17 17:59:38 +01:00
Radek Simko
8b30fd484d
Merge pull request #4365 from TimeIncOSS/b-ecs-td-fix
...
provider/aws: Treat INACTIVE ECS TDs as deleted in acc tests
2015-12-17 17:38:46 +01:00
Radek Simko
202b0aef1b
provider/aws: Always use either body or URL for all updates
...
- fixes #4332
2015-12-17 17:01:34 +01:00
Radek Simko
a080447471
aws: Treat INACTIVE ECS TDs as deleted in acc tests
...
- related to https://github.com/hashicorp/terraform/pull/3924
2015-12-17 15:40:27 +01:00
Radek Simko
7f5e2b66ff
aws: Treat INACTIVE ECS cluster as deleted
2015-12-17 15:34:49 +01:00
Joe Topjian
8d5a2d05a4
provider/openstack: Load Balancing Member Resource
...
This commit adds the openstack_lb_member_v1 resource. This resource models a
load balancing member which was previously coupled to the openstack_lb_pool_v1
resource.
By creating an actual member resource, load balancing members can now be
dynamically managed through terraform.
2015-12-17 07:29:58 +00:00
Joe Topjian
669ddbfc5c
Merge pull request #4288 from jtopjian/jtopjian-openstack-bfv-set2list
...
provider/openstack: Convert block_device from TypeSet to TypeList
2015-12-16 23:05:00 -07:00
Martin Atkins
a9d97708ee
mysql provider and mysql_database resource.
...
Allows databases on pre-existing MySQL servers to be created and managed
by Terraform.
2015-12-16 17:59:35 -08:00
stack72
14b7559cd1
Fixing Gofmt errors
2015-12-17 00:43:50 +01:00
Harry Macey
4f5df717b4
Fixes #4351
...
Adding empty string defaults for network interface and instance when reading `aws_eip` resource.
2015-12-16 17:38:05 -05:00
clint shryock
d4e4fb6ea0
Reuse structure method for network interface ips
2015-12-16 13:56:23 -06:00
Joe Topjian
03a7926198
Merge pull request #4298 from jtopjian/jtopjian-openstack-devstack
...
provider/openstack: DevStack Deploy Script
2015-12-16 11:44:12 -07:00
Clint
fb2735e470
Merge pull request #4307 from justnom/b-private-ips-eni
...
provider/aws: Allow changing private IPs for ENIs
2015-12-16 11:43:07 -06:00
Clint
60817ae91a
Merge pull request #4315 from paybyphone/paybyphone_s3bucketpolicywaiter
...
aws_s3_bucket: Retry MalformedPolicy errors due to newly created principals
2015-12-16 11:21:52 -06:00
clint shryock
b172d94381
provider/aws: Fix check destroy method for s3 tests
2015-12-16 11:07:15 -06:00
James Nugent
19e68da388
Merge pull request #4340 from stack72/f-aws-db_subnet_group_name-downcase
...
provider/aws: StateFunc on db_subnet_group name to be lowercase
2015-12-16 11:36:37 -05:00
stack72
57bcb49ede
Change the DB Subnet Group Name to not allow UPPERCASE characters. If
...
this happens, throw a validation error
Add some ValidationTests for the DBSubnetGroupName ValidateFunc
2015-12-16 17:32:47 +01:00
Clint
54e44328e6
Merge pull request #4254 from hashicorp/b-aws-auth-refactor
...
provider/aws: WIP Refactor AWS Authentication chain
2015-12-16 10:12:06 -06:00
James Nugent
805c4896bd
provider/azurerm: Clean up work for base provider
...
- Add documentation for resources
- Rename files to match standard patterns
- Add acceptance tests for resource groups
- Add acceptance tests for vnets
- Remove ARM_CREDENTIALS file - as discussed this does not appear to be
an Azure standard, and there is scope for confusion with the
azureProfile.json file which the CLI generates. If a standard emerges
we can reconsider this.
- Validate credentials in the schema
- Remove storage testing artefacts
- Use ARM IDs as Terraform IDs
- Use autorest hooks for logging
2015-12-15 18:31:02 -05:00
Nashwan Azhari
63bc8e9852
provider/azurerm: Tidy up minor issues
...
This commit cleans up some of the work on the Azure ARM provider
following review by @phinze. Specifically:
- Unnecessary ASM-targeted tests are removed
- Validation is added to the `resource_group` resource
- `dns_servers_names` -> `dns_servers` as per the API documentation
- AZURE_SUBSCRIPTION_ID environment variable is renamed to be
ARM_SUBSCRIPTION_ID in order to match the other environment variables
2015-12-15 17:26:33 -05:00
Nashwan Azhari
c279adfc55
provider/azurerm: Initial commit.
...
This commit brings some of the work over from #3808 , but rearchitects to
use a separate provider for Azure Resource Manager. This is in line with
the decisions made by the Azure Powershell Cmdlets, and is important for
usability since the sets of required fields change between the ASM and
ARM APIs.
Currently `azurerm_resource_group` and `azurerm_virtual_network` are
implemented, more resources will follow.
2015-12-15 17:26:33 -05:00
Lars Wander
889b9fc95d
Merge pull request #3763 from sl1pm4t/b-gce-instance-no-exist
...
Issue #3742 - terraform destroy fails if Google Compute Instance no...
2015-12-15 15:02:36 -05:00
Clint
64482422b5
Merge pull request #4146 from hashicorp/b-aws-ebs-validate
...
providers/aws: Validate IOPs for EBS Volumes
2015-12-15 11:33:49 -06:00
clint shryock
adf417809a
add some comments on auth refactoring
2015-12-15 10:49:23 -06:00
clint shryock
5f5459a1fb
provider/aws: Refactor AWS Authentication chain
...
- update auth checking to check metadata header
- refactor tests to not export os env vars
2015-12-15 10:46:10 -06:00
Lars Wander
41cd85c7d8
Merge pull request #3892 from lwander/b-gcp-instance-group-restart
...
provider/google: Fix instance group manager instance restart policy
2015-12-15 11:38:12 -05:00
mdeboercw
6ca1327aa2
Added support for disk init types
...
Fixed formatting
changed 'init_type' to 'type'
Fixed acceptance tests for disk provisioning
Fixed docs for change from 'init_type' to 'type'
2015-12-14 23:35:45 -08:00
clint shryock
d7a73937eb
provider/aws: Guard against nil DB Parameter vaules
2015-12-14 14:45:27 -06:00
Chris Marchesi
bfa4a88170
Retry InvalidParameterValueException errors due to newly created resources
2015-12-14 11:12:06 -08:00
Chris Marchesi
559aa50a31
Retry MalformedPolicy errors due to newly created principals
2015-12-14 10:42:08 -08:00
Spencer Nelson
063d770e51
provider/aws: Kinesis DescribeStream pagination
...
Each call to the Kinesis DescribeStream API returns a limited number of
shards. When interrogating AWS for the state of a Kinesis stream, the
client needs to page through the API's responses to get the true number
of shards.
2015-12-14 11:27:00 -05:00
justnom
38509d583d
Fixes #4253
2015-12-14 10:33:08 -05:00
Martin Atkins
98fc16ec06
Only refresh project name if Rundeck server provides it.
...
It seems that not all Rundeck servers consistently return the project name
when retrieving a job. Not yet sure in what situations it is or isn't
returned, but since jobs are not allowed to move between projects anyway
it doesn't hurt to just skip refreshing it if the server provides no
value.
2015-12-13 17:38:08 -08:00
Martin Atkins
6aeffdfb2c
chef_node resource.
2015-12-13 15:09:17 -08:00
Martin Atkins
2aab842be1
chef_role resource.
2015-12-13 15:09:17 -08:00
Martin Atkins
25b05c0808
chef_environment resource.
2015-12-13 15:09:17 -08:00
Martin Atkins
406aba4a62
chef_data_bag_item resource.
2015-12-13 15:09:17 -08:00
Martin Atkins
d583b936b2
chef_data_bag resource.
2015-12-13 15:09:16 -08:00
Martin Atkins
53aa3fb049
Entry point for chef provider.
2015-12-13 15:09:16 -08:00
Martin Atkins
e25a0cafa2
Update for breaking change to Azure library.
...
vmImageClient.ListVirtualMachineImages takes a parameter as of
68d50cb53a73edfeb7f17f5e86cdc8eb359a9528 in Azure/azure-sdk-for-go .
Passing in a parameters object whose members are all empty strings seems
to restore the previous behavior.
2015-12-13 14:59:24 -08:00
Joe Topjian
1ff403347b
provider/openstack: Fix set hash for security group test
2015-12-13 03:15:52 +00:00
Joe Topjian
7cbd18a88d
provider/openstack: DevStack Deploy Script
...
This commit includes a script to deploy a standardized devstack environment
for use with development and testing.
2015-12-13 02:58:29 +00:00
Joe Topjian
4716451617
provider/openstack: Convert block_device from TypeSet to TypeList
...
This change better reflects how block devices are passed to the Nova API
and allows for future enablement of block_device features. It also resolves
an interpolation bug.
2015-12-12 22:18:23 +00:00
stack72
ed8c5cdeea
Fixing some gofmt errors that keep appearing on my master branch
2015-12-12 11:00:54 +00:00
James Nugent
19ea14bf8d
Merge pull request #4256 from stack72/aws-asg-scheduled-actions
...
provider/aws: Autoscaling Group Scheduled Actions
2015-12-11 16:54:13 -05:00
stack72
c965d2278e
Adding a resource for aws_autoscaling_schedule
2015-12-11 18:43:38 +00:00
Lars Wander
a1676f9eb1
provider/google: gofmt
2015-12-11 12:59:13 -05:00
Lars Wander
a1a5788ed8
provider/google: provide assigned_nat_ip as well as nat_ip
2015-12-11 12:57:18 -05:00
toshihisa
bedd020dee
issue #4137
...
vpc_endpoint bug fix.
2015-12-12 01:15:54 +09:00
Clint
8b21f284b4
Merge pull request #4259 from stack72/aws-db_parameter_group-tags
...
provider/aws: Adding Tag support for DB Param Groups
2015-12-11 08:58:26 -06:00
Clint
5b2230588a
Merge pull request #4260 from stack72/aws-db_security_group-tags
...
provider/aws: Adding support for Tags to DB SecurityGroup
2015-12-11 08:48:59 -06:00
stack72
dec5a27f19
Adding the ARN as an output of the DB Subnet Group
2015-12-11 12:39:15 +00:00
stack72
474d6080f0
Adding support for Tags to the DB Security Group
2015-12-11 12:28:24 +00:00
stack72
67c1971e63
Adding support to DB Parameter Group for Tags
2015-12-11 12:07:50 +00:00
stack72
d84d6796c4
Initial CRUD work for the Autoscaling Group Scheduled Actions
2015-12-11 10:53:46 +00:00
James Nugent
fb4878cf37
Merge pull request #3853 from stack72/f-aws-db-instance-omit-snapshot
...
provider/aws: add DB Instance skip_final_snapshot
2015-12-10 18:38:11 -05:00
stack72
2b0c7aa4e9
Making the changes to db_instance skip_final_snapshot on the feedback from @catsby
2015-12-10 23:21:36 +00:00
James Nugent
2fecc72fb0
Merge pull request #3809 from stack72/f-aws-elasticache-cache-nodes-reduction
...
provider/aws: Ability to reduce nodes in an ElastiCache cluster
2015-12-10 15:30:09 -05:00
stack72
6082e3e732
Changing the db_instance to throw an error is a final snapshot is required but yet no identified is given
2015-12-10 19:11:47 +00:00
stack72
5796b13373
Adding skip_final_snapshop bool to th db_instance. This will allow us to specify whether a snapshot is needed directly rather than checking for an empty string
2015-12-10 19:11:47 +00:00
James Nugent
a213fe121d
Merge pull request #4245 from grisha/esd_fix
...
Fix a bug whereby AWS elasticsearch domain access_policies will always appear changed
2015-12-10 14:08:38 -05:00
Paul Hinze
cfea7c8e2d
provider/vsphere: restore vcenter_server as deprecated field
...
As promised in my comment in #3718 , this preserves backwards
compatibility while warning users of the new proper name for the field.
2015-12-10 12:11:51 -06:00
Paul Hinze
231f0cb474
Merge pull request #4035 from rakutentech/fix-ipv6-bug
...
provider/vsphere: Change ip_address parameter for ipv6 support
2015-12-10 12:02:11 -06:00
Clint
eb3840c574
Merge pull request #4242 from hashicorp/b-aws-lc-guard
...
provider/aws: Fix missing AMI issue with Launch Configurations
2015-12-10 08:55:49 -06:00
Takaaki Furukawa
68ac4bceaf
provider/vsphere: Change ip_address parameter to ipv4_address and ipv6_address for ipv6 support
2015-12-10 18:28:24 +09:00
Grisha Trubetskoy
6fbfd99ace
Fix a bug whereby AWS elasticsearch domain access_policy will
...
always appear changed because of a missing normalizeJson().
2015-12-09 23:29:38 -05:00
Martin Atkins
b679bb2b31
Merge pull request #4241 from b-ryan/fix/opsworks-ssh-key-write-only
...
Make the OpsWorks cookbooks SSH key write only
2015-12-09 18:04:58 -08:00
clint shryock
e4dba86098
provider/aws: Fix missing AMI issue with Launch Configurations
2015-12-09 16:39:03 -06:00
clint shryock
5c60f7f2c1
provider/aws: Trap Instance error from mismatched SG IDs and Names
2015-12-09 15:59:36 -06:00
Buck Ryan
921944c956
Make the OpsWorks cookbooks SSH key write only
...
Fixes #3635
This follows the suggestion of @apparentlymart in
https://github.com/hashicorp/terraform/issues/3635#issuecomment-151000068
to fix the issue of OpsWorks stacks always complaining about the custom
cookbooks SSH key needing to be changed.
Functional tests:
* Created a new stack and gave it an SSH key. The key was written to
OpsWorks properly.
* Ran "plan" again and terraform indicated it needed to change the SSH
key, which is expected since terraform cannot read what the existing
SSH is.
* Removed the key from my resource and this time, "plan" did not have
any changes. The `tfstate` file indicated the SSH key was "" (empty
string).
* Changed an unrelated property of the stack. Previously this was not
working for me due to terraform attempting to change the SSH key.
2015-12-09 16:58:05 -05:00
Clint
078280f1ea
Merge pull request #4155 from hashicorp/b-aws-db-replica-storage
...
providers/aws: Update DB Replica to honor storage type
2015-12-09 13:30:23 -06:00
Clint
501a016692
Merge pull request #4127 from hashicorp/aws-vet
...
Small updates to AWS provider to make go vet happy
2015-12-09 13:30:07 -06:00
clint shryock
6015874273
providers/aws: Update DB Replica to honor storage type
...
DB Replica can be of a different storage type, but we were skipping that part.
Note that they are created as the default (or as the primary?) initially,
and then modified to be of the correct type
2015-12-09 13:24:10 -06:00
Clint
9cc5e52cf0
Merge pull request #4167 from stack72/aws-security_group_name_prefix
...
provider/aws: securitygroup name_prefix
2015-12-09 11:42:34 -06:00
Clint
8e20552d44
Merge pull request #4236 from hashicorp/b-aws-s3-hosted-zone-update
...
providers/aws: Update Hosted Zones to fix issue with eu-central
2015-12-09 10:51:02 -06:00
clint shryock
bd22c77c1f
providers/aws: Update Hosted Zones to fix issue with eu-central
2015-12-09 10:44:22 -06:00
Paul Hinze
5630f9581f
Merge pull request #4196 from kristinn/create-disk-before-startup
...
provider/vsphere: Create and attach additional disks before bootup.
2015-12-09 10:06:34 -06:00
Paul Hinze
e065bec624
Merge pull request #3939 from matt-deboer/master
...
vsphere-provider: Added folder handling for folder-qualified vm names
2015-12-09 09:55:06 -06:00
Clint
ced42342ff
Merge pull request #4215 from hashicorp/pr-4207
...
Fix issue creating AWS RDS replicas across regions
2015-12-09 09:54:53 -06:00
Clint
9044807152
Merge pull request #4221 from hashicorp/b-aws-runinstances-check
...
provider/aws: Handle empty Instances response from RunInstances
2015-12-09 09:54:02 -06:00
Joe Topjian
3dc45039d1
Merge pull request #4204 from jtopjian/jtopjian-openstack-deleting-volume
...
provider/openstack: Handle volumes in "deleting" state
2015-12-08 22:58:32 -07:00
Joe Topjian
8ebb74cbff
Merge pull request #4223 from nicgrayson/increase-OS-timeout
...
provider/openstack: increase instance timeout from 10 to 30 minutes
2015-12-08 22:19:05 -07:00
mdeboercw
67bfc2faef
Added folder handling for folder-qualified vm names
...
Added acceptance test for creation in folders
Added 'baseName' as computed schema attribute for convenience
Added 'base_name' computed attribute for convenience
Added new vsphere folder resource
Fixed folder behavior
Assure test folders are properly removed
Avoid creating recreating search index in loop
Fix typeo in vsphere.createFolder
Updated website documentation
Renamed test folders to be unique across tests
Fixes based on acc test findings; code cleanup
Added combined folder and vm acc test
Restored newline; fixed skipped acc tests
Marked 'existing_path' as computed only
Removed debug logging from tests
Changed folder read to return error
2015-12-08 20:35:27 -08:00
Paul Hinze
5884323c99
Merge pull request #4208 from stack72/aws-dynamodb_streams
...
provider/aws: DynamoDB Table StreamSpecifications
2015-12-08 18:42:48 -06:00
Paul Hinze
baeb790ed9
provider/aws: fix capitalization in acctest names
2015-12-08 17:49:17 -06:00
James Nugent
6e45319102
Merge pull request #4216 from stack72/f-do-floatingip_read
...
provider/digitalocean: FloatingIP Read Func for Region
2015-12-08 17:18:54 -05:00
Nic Grayson
ef9838c796
increased openstack 10 minute timeouts to 30 minutes
2015-12-08 16:03:33 -06:00
Clint
9f5f30650f
Merge pull request #4168 from combor/malformed_xml_fix
...
S3 bucket force_destroy error: MalformedXML
2015-12-08 15:24:50 -06:00
stack72
8b79881dea
Adding a validation function for the DynamoDb Table StreamViewType
2015-12-08 20:58:06 +00:00
Paul Hinze
a6ca034968
provider/aws: run codeclimate tests in us-east-1
...
It's only available there.
2015-12-08 14:46:08 -06:00
Paul Hinze
6e32320e41
provider/aws: switch test to use more accessible ami
...
Switch out an AMI that doesn't require marketplace terms acceptance.
2015-12-08 14:40:24 -06:00
clint shryock
9fc6c27de1
provider/aws: Check for empty instances in AWS Instance RunInstance response
...
Fixes #4206
2015-12-08 14:37:54 -06:00
stack72
22388139a3
Changing the DigitalOcean FloatingIP Read func to check for Droplet Region and then fallback to FloatingIP Region
2015-12-08 17:08:02 +00:00
clint shryock
e52af33db7
remove extra DBSubnetGroupName
2015-12-08 10:55:57 -06:00
clint shryock
0619898f6a
provider/aws: Add arn to DB Instance output
2015-12-08 10:52:17 -06:00
James Nugent
53609c89c5
Merge pull request #4214 from stack72/f-do-floatingip_panic
...
provider/digitalocean: Fixing panic condition on FloatingIP droplet
2015-12-08 11:37:59 -05:00
stack72
4b5cb07475
Fixing the digitalocean floatingip resource for a panic when droplet wasn't available
2015-12-08 16:29:13 +00:00
stack72
d46348c233
Adding support for AWS DynamoDB Table for StreamSpecifications
2015-12-08 14:07:11 +00:00
Philipp Preß
1cd2fea1f9
Fix AWS RDS cross-region read replica always being placed in default VPC
...
Fixes #4192 by honouring the `db_subnet_group_name` parameter when creating a cross-region read replica.
2015-12-08 15:06:57 +01:00
Joe Topjian
c3f6bbcece
provider/openstack: Handle volumes in "deleting" state
...
This commit prevents Terraform from erroring when an attempt is made
to delete a volume already in a "deleting" state. This can happen when
the volume is the root disk of an instance and the instance was
terminated.
2015-12-08 06:33:06 +00:00
clint shryock
cf87642bc8
provider/aws: Fix issue destroy Route 53 zone/record if it no longer exists
2015-12-07 16:33:37 -06:00
clint shryock
d69abbaeda
Run go fmt on VMWare vCloud Director provider
2015-12-07 15:24:34 -06:00
Kristinn Örn Sigurðsson
aa97300a3b
Create and attach additional disks before bootup.
...
Additional disks weren't created and attached to cloned vms until after bootup.
I also fixed some typos.
2015-12-07 22:16:52 +01:00
clint shryock
7bf404619c
adjust the ebs validation to not error, only log, and only set iops for io1
2015-12-07 14:49:44 -06:00
clint shryock
5e54bcc6ff
Add test for iops with gp2, remove strict validation
2015-12-07 11:16:29 -06:00
Alex Berghage
53f02fc4a2
Analogous to #3768 -- just for DNS and keys.
...
The error string for 404s on DNS domains has (apparently)
changed, causing things to be a little sad when you modify
DNS domains from the DO console instead of terraform. This
is just the same fix as was applied to droplets around this
time last month.
While I was at it I just fixed this everywhere I saw it in the
DO provider source tree.
2015-12-06 07:13:14 -05:00
Martin Atkins
283a838b58
Merge #3930 : tls_locally_signed_cert resource
2015-12-04 13:30:37 -08:00
Piotr Komborski
3d28b8dec2
S3 bucket force_destroy error: MalformedXML
...
AWS provider was not checking whether DeleteMarkers are left in S3
bucket causing s3.DeleteObjectsInput to send empty XML which resulted in
400 error and MalformedXML message.
2015-12-04 15:24:23 +00:00
Paul Hinze
30a87be969
Merge pull request #4150 from svanharmelen/f-cloudstack-performance
...
provider/cloudstack: performance improvements
2015-12-04 09:07:10 -06:00
Takaaki Furukawa
3a08cc9334
provider/vsphere: Add allow_unverified_ssl flag for unverified SSL requests
2015-12-04 08:49:22 -06:00
stack72
6817e0d144
Adding the ability to generate a securitygroup name-prefix
2015-12-04 09:21:08 -05:00
Adrian Chelaru
e1eef15646
postgresql provider with "database" and "role" resources
2015-12-03 23:44:20 -08:00
Paul Hinze
8e40b6b855
provider/aws: fixes to ASG placement_group tests
...
Based on @stack72's recommendations in #3704 , thanks @stack72!
2015-12-03 18:17:54 -06:00
Paul Hinze
709d1f3599
Merge pull request #3704 from dayer4b/add-placement-group
...
added placement group as an option for autoscaling groups
2015-12-03 18:05:01 -06:00
Paul Hinze
9e68c34abe
Merge pull request #3785 from hmrc/master
...
VMWare vCloud Director Support
2015-12-03 15:51:47 -06:00
Clint
79c9953b83
Merge pull request #4075 from elblivion/fix-elb-ec2-classic
...
provider/aws: Skip SG ID determination logic for Classic ELBs
2015-12-03 14:23:14 -06:00
Sander van Harmelen
b8f3417e79
Change all firewall related resources to take a cidr_list
...
Also some additional tweaks to improve performance and add in a little
concurrency to speed things up a little.
2015-12-03 15:34:53 +01:00
Paul Bellamy
52d178b7ac
provider/docker: Inline ports and volumes schemas for consistency
2015-12-03 10:51:59 +00:00
Paul Bellamy
7a24764c15
provider/docker: Add hosts parameter for containers
2015-12-03 10:32:41 +00:00
Joe Topjian
387a8ea127
Merge pull request #3926 from jtopjian/jtopjian-openstack-lbaas-statechange
...
provider/openstack: Add State Change support to LBaaS Resources
2015-12-02 20:25:04 -07:00
James Nugent
597fafbb68
provider/docker: locate container via ID not name
...
This reapplies the patch mentioned in #3364 - for an unknown reason the
diff there was incorrect.
2015-12-02 17:27:24 -05:00
clint shryock
d1bba3095b
providers/aws: Validate IOPs for EBS Volumes
2015-12-02 15:20:11 -06:00
stack72
2882d01904
Work to allow reducing the Number of Cache Nodes in an ElastiCache Cluster
2015-12-02 21:07:50 +00:00
Dave Cunningham
d6ae527159
Merge pull request #3671 from 22Acacia/google-pubsub-clean
...
Google Cloud: PubSub Topic and Subscription resources
2015-12-02 15:37:23 -05:00
James Nugent
4343e60481
Merge pull request #4144 from hashicorp/b-brittle-docker-image-tests
...
provider/docker: Refer to a tag instead of latest
2015-12-02 15:16:48 -05:00
James Nugent
4ce6455e8a
provider/docker: Refer to a tag instead of latest
...
This should make tests more stable going forward. Also switch out the
image used from Ubuntu to Alpine Linux to reduce required download size
during test runs.
2015-12-02 15:08:16 -05:00
Paul Hinze
4216a8d1e1
Merge pull request #3718 from rakutentech/rename-config-parameters
...
provider/vsphere: rename vcenter_server config parameter to something clearer
2015-12-02 14:04:52 -06:00
Paul Hinze
6c76984419
Merge pull request #3867 from chrislovecnm/vsphere-custom-vm-params
...
vSphere custom vm params
2015-12-02 14:00:30 -06:00
pat
6f7ef2fadd
golang pubsub SDK has been released. moved topics/subscriptions to use that
...
Conflicts:
builtin/providers/google/provider.go
builtin/providers/google/resource_subscription.go
builtin/providers/google/resource_subscription_test.go
golang pubsub SDK has been released. moved topics/subscriptions to use that
Conflicts:
builtin/providers/google/provider.go
builtin/providers/google/resource_subscription.go
builtin/providers/google/resource_subscription_test.go
file renames and add documentation files
remove typo'd merge and type file move
add to index page as well
only need to define that once
remove topic_computed schema value
I think this was used at one point but is no longer. away.
cleanup typo
adds a couple more config values
- ackDeadlineSeconds: number of seconds to wait for an ack
- pushAttributes: attributes of a push subscription
- pushEndpoint: target for a push subscription
rearrange to better match current conventions
respond to all of the comments
2015-12-02 10:36:00 -08:00
James Nugent
50d7abcd8a
Merge pull request #3761 from ryane/f-provider-docker-improvements
...
provider/docker: support additional arguments for `docker_container` resource
2015-12-02 11:46:29 -05:00
James Nugent
69272f3113
provider/aws: error with empty list item on sg
...
This addresses the case where `compact` has not been used on a list
passed into security group as cidr_block. See #3786 . Compact is still
the correct answer there, but we should prefer returning an error to
a panic. Fixes #3786 .
2015-12-02 11:36:50 -05:00
clint shryock
be07e4c0c9
cleanup spot instance attribute setting
2015-12-01 15:25:53 -06:00
clint shryock
c5f0c8ced6
provider/aws: Check for nil on some spot instance attributes
2015-12-01 14:58:59 -06:00
clint shryock
4a5847f9ea
providers/aws: Vet aws
2015-12-01 10:00:35 -06:00
James Nugent
9987f36d86
Merge pull request #4093 from paybyphone/master
...
provider/aws: New resource `aws_lambda_event_source_mapping`
2015-12-01 08:36:45 -05:00
Sander van Harmelen
84645bd8b5
More tweaks to improve performance
2015-12-01 00:36:33 +01:00
Chris Marchesi
85627630bd
New resource (AWS provider) - aws_lambda_event_source_mapping
2015-11-30 07:45:38 -08:00
James Nugent
85c8595c89
Merge pull request #4108 from stack72/f-aws-route53-spf-record
...
provider/aws: Normalization of SPF records to prevent reporting changes
2015-11-30 13:15:32 +00:00
stack72
fece57f83b
Changing the IAM Role resource to allow update of Assume Policy Document
2015-11-30 12:52:07 +00:00
stack72
a556c98cde
Adding support for the escapaing of Route53 SPF records
2015-11-30 12:14:39 +00:00
stack72
ee4d29ce97
Added some acceptance tests for the statuscake provider
2015-11-27 15:03:13 +00:00
stack72
038604d97d
Migrating the statuscake_test resource to use the new version of the statuscake client
2015-11-27 15:03:13 +00:00
stack72
34b77aa78b
Adding the update and read functionality for the statuscake client
2015-11-27 15:03:13 +00:00
stack72
97c0aa5e73
Using the latest version of the statuscake client
2015-11-27 15:03:13 +00:00
stack72
d26f5f93e4
Created the initial scaffolding for the statuscake provider
2015-11-27 15:03:13 +00:00
Sander van Harmelen
d4ce2b87fb
Modified executable bit
2015-11-27 14:49:28 +01:00
stack72
0cca74fe76
Changing the S3 Bucket resource to allow the update of ACL by using PutBucketAcl
2015-11-26 21:45:48 +00:00
Anthony Stanton
5753efa8af
Skip SG ID determination logic for Classic ELBs
2015-11-26 15:34:28 +01:00
stack72
632a9147cc
Adding support for Block_Durations to AWS Spot instance
2015-11-26 11:56:04 +00:00
James Nugent
b7a12e3a58
Merge pull request #4009 from apparentlymart/aws-opsworks-acctest-iam
...
provider/aws: AWS Opsworks tests bring their own IAM objects
2015-11-25 21:26:40 +02:00
James Nugent
c262bc72ea
Merge pull request #3895 from br0ch0n/rds_pub_access_param
...
Issue #3894 RDS publicly_accessible param shouldn't force new resource
2015-11-25 21:09:23 +02:00
Brett Mack
aec94b1682
Don't error if unable to undeploy
2015-11-25 16:53:00 +00:00
James Nugent
ca2a7ee120
Merge pull request #4051 from svanharmelen/f-reduce-api-calls
...
provider/cloudstack: improve performance for all firewall related resources
2015-11-25 14:06:42 +02:00
Brett Mack
a02667389e
Only undeploy a machine if it is switched on
2015-11-25 12:05:59 +00:00
chrislovecnm
811a82d9b3
updating printf formating to correct syntax with int
2015-11-25 07:59:46 +00:00
chrislovecnm
de2c76a61c
polish
2015-11-25 00:48:44 -07:00
chrislovecnm
d70cdde233
merging in upstream, because rebase was insane
2015-11-25 00:44:27 -07:00
Chris Love
1d1de992af
adding better acceptance test to check custom config
2015-11-25 05:41:01 +00:00
Chris Love
a35b65e5d2
working on better test
2015-11-24 21:35:40 -07:00
clint shryock
e9cb722471
providers/aws: Fix issue recreating security group rule if it has been destroyed
2015-11-24 13:50:30 -06:00
Sander van Harmelen
a3eae45b32
Improve performance all firewall related resources
2015-11-24 18:27:52 +01:00
James Nugent
1cde2e64a0
Merge pull request #3748 from stack72/do-floatingips
...
provider/digitalocean : New Resource for Floating IPs
2015-11-24 13:16:24 +02:00
stack72
3fc9107333
Using the laterst version of the DO API to get the Assign of an IP working without a time.Sleep
2015-11-24 11:08:43 +00:00
James Nugent
288e568272
Merge pull request #4024 from rjeczalik/nil-deref-fix
...
provider/aws: fix for https://github.com/aws/aws-sdk-go/issues/452
2015-11-24 11:52:33 +02:00
Rafal Jeczalik
9e66e18334
provider/aws: fix for https://github.com/aws/aws-sdk-go/issues/452
2015-11-24 09:30:21 +01:00
James Nugent
99e3d62cd8
provider/aws: Make VPC ID required on subnets
2015-11-23 16:53:49 +02:00
Clint
82050ff832
Merge pull request #4005 from hashicorp/b-aws-iam-user-delete
...
provider/aws: Fix issue deleting users who are attached to a group
2015-11-23 08:22:48 -06:00
Clint
7772a66b2f
Merge pull request #3940 from hashicorp/b-aws-spot-instance-updates
...
providers/aws: Update Spot Instance request to provide connection information
2015-11-23 08:22:07 -06:00
stack72
150e997a96
Changing the AWS ElastiCache cluster maintenance_window to enforce lowercase
2015-11-23 12:54:56 +00:00
Nicki Watt
3809315af9
Upped default maxRetryTimeout from 30s -> 60s
2015-11-23 11:45:16 +00:00
Radek Simko
749fcd4931
Merge pull request #4010 from pforman/cloudtrail-enable
...
provider/aws: Add "enable_logging" to CloudTrail resource
2015-11-23 07:59:29 +00:00
Paul Forman
52aad04930
Mistake in type refactor in cloudTrailGetLoggingStatus
...
When adjusting the types to prevent casting, I didn't change the error
message to handle the pointer change. "go tool vet" caught this.
2015-11-22 13:23:08 -07:00
Paul Forman
9cec40ea3c
Add missing error-checks from code review
...
Some error-checking was omitted.
Specifically, the cloudTrailSetLogging call in the Create function was
ignoring the return and cloudTrailGetLoggingStatus could crash on a
nil-dereference during the return. Fixed both.
Fixed some needless casting in cloudTrailGetLoggingStatus.
Clarified error message in acceptance tests.
Removed needless option from example in docs.
2015-11-22 12:54:11 -07:00
Paul Forman
484887c0c5
Change default for logging in CloudTrail to true
...
The default for `enable_logging`, which defines whether CloudTrail
actually logs events was originally written as defaulting to `false`,
since that's how AWS creates trails.
`true` is likely a better default for Terraform users.
Changed the default and updated the docs.
Changed the acceptance tests to verify new default behavior.
2015-11-22 10:47:23 -07:00
James Nugent
774ed1ded8
Merge pull request #4012 from rakutentech/rename-function
...
provider/vsphere: Rename create* functions
2015-11-22 11:34:42 +02:00
Paul Forman
c9eeb161e0
Add a comment in tests
...
The purpose of the first test of enable_logging wasn't quite clear.
It's future-proofing against the assumptions made about AWS behavior.
2015-11-21 14:55:08 -07:00
Martin Atkins
11190144f0
AWS Opsworks tests bring their own IAM objects.
...
Previously we assumed the existence of some default objects that most
Opsworks users have because the Opsworks console creates them by default
when a new stack is created.
However, that meant that these tests wouldn't work correctly for anyone
who either had never used Opsworks via the UI or who had never accepted
the default of having the console create some predefined IAM objects to
use. It may also have led to some weird failures if a particular user had
customized the settings for these default objects.
Now the tests create suitable IAM roles, a policy and an instance profile
and use these when creating Opsworks stacks, avoiding any dependency
on any pre-existing objects.
This fixes #3998 .
2015-11-21 11:13:25 -08:00
Nicki Watt
f1c2be9772
Make maxRetryTimeout (in seconds) configurable
2015-11-21 12:54:59 +00:00
Paul Forman
f98dbbb580
Tests and docs for AWS CloudTrail "enable_logging"
...
Add acceptance tests for creation, enable, and disable logging.
Add option to docs and example.
2015-11-21 00:18:38 -07:00
Paul Forman
52db098292
Add enable_logging to AWS CloudTrail
...
The AWS CloudTrail resource is capable of creating CloudTrail resources,
but AWS defaults the actual logging of the trails to `false`, and
Terraform has no method to enable or monitor the status of logging.
CloudTrail trails that are inactive aren't very useful, and it's a
surprise to discover they aren't logging on creation.
Added an `enable_logging` parameter to resource_aws_cloudtrail to enable
logging. This requires some extra API calls, which are wrapped in new
internal functions.
For compatibility with AWS, the default of `enable_logging` is set to
`false`.
2015-11-21 00:18:38 -07:00
clint shryock
233aab6e0a
provider/aws: Fix issue deleting users who are attached to a group
...
If you want to delete an IAM user, that user must not belong to any groups
2015-11-20 16:54:26 -06:00
Clint
cc70d25dc5
Merge pull request #3898 from hashicorp/b-aws-elb-iam-cert-delete
...
providers/aws: Retry deleting IAM Server Cert on dependency violation
2015-11-20 14:50:18 -06:00
Clint
9edbf6a7fc
Merge pull request #3908 from hashicorp/b-elb-cookie-fix
...
provider/aws: Fix issue with LB Cookie Stickiness and empty expiration period
2015-11-20 14:49:00 -06:00
Clint
ed3399593a
Merge pull request #3996 from hashicorp/b-aws-test-fixes
...
Adjustments for AWS Acceptance tests
2015-11-20 13:28:25 -06:00
clint shryock
9eb46c28b2
use a log group resourcE
2015-11-20 13:15:20 -06:00
clint shryock
cf5b32617b
fix vpn gateway refresh/reattach issue
2015-11-20 11:47:10 -06:00
stack72
74c93d3a46
Reording the code for the creation of a Floating IP for a droplet. The call to the DO api takes a few seconds to propagate so I had to sacriface some kittens and added a short 10 second sleep
2015-11-20 19:12:31 +02:00
stack72
7bda855590
Adding the work to assign a Floating IP to a Droplet
2015-11-20 19:12:31 +02:00
stack72
9cf1c2943c
Adding the first pass of the work to get a floatingip assigned to a region
2015-11-20 19:12:30 +02:00
Paul Hinze
24d15820c1
provider/heroku: fix acc test
...
depends_on requires a list of strings. the old parser would silently
ignore this field, but the new one returned a syntax error.
2015-11-20 10:51:34 -06:00
Paul Hinze
c637ca039c
Merge pull request #3987 from hashicorp/b-aws-test-fixes
...
AWS Test fixtures updates
2015-11-20 10:36:38 -06:00
Paul Hinze
2f25d57e7c
Merge pull request #3993 from lwander/b-gcp-test-ssl-cert
...
provider/google: self-signed ssl certs for testing
2015-11-20 10:36:27 -06:00
Lars Wander
93ff7edb13
provider/google: self-signed ssl certs for testing
2015-11-20 11:32:25 -05:00
Paul Hinze
e67551a641
provider/docker: fix image test
...
there's a new latest in town
2015-11-20 09:58:03 -06:00
Paul Hinze
e9a18a8f9f
provider/google: fix sql database test
...
Was missing a required parameter
/cc @lwander @sparkprime
2015-11-20 09:52:23 -06:00
Julien Fabre
ed3f54cc47
Add AWS Classiclink for AWS VPC resource
2015-11-20 16:48:48 +01:00
clint shryock
73475edceb
update TestAccAWSFlowLog_subnet to use new cloudwatch resource, not needing env var anymore
2015-11-20 09:39:43 -06:00
clint shryock
fe204bb291
error test when env var is not supplied
2015-11-20 09:39:17 -06:00
clint shryock
4d0699b9dd
mark snapshots as computed for ElastiCache clusters
2015-11-20 09:39:17 -06:00
Takaaki Furukawa
cb84b98ce4
provider/vsphere: Rename functions
2015-11-20 21:01:02 +09:00
Takaaki Furukawa
7bf02243a1
rename vcenter_server config parameter to something clearer
2015-11-20 20:37:49 +09:00
Paul Hinze
887839ce23
provider/digitalocean: remove relative CNAME test
...
Heard back from DO support:
> we require it to be a FQDN for a CNAME record in our DNS system.
/cc @paystee, the original author here
2015-11-19 18:36:58 -06:00
Paul Hinze
3d089143c6
provider/azure: fix hosted service acctest
...
Just some basic bitrot stuff.
2015-11-19 16:28:24 -06:00
clint shryock
325fd751eb
update TestAccAWSFlowLog_subnet to use new cloudwatch resource, not needing env var anymore
2015-11-19 16:27:56 -06:00
clint shryock
e91381c4e2
error test when env var is not supplied
2015-11-19 16:24:17 -06:00
clint shryock
0aedb7eae6
mark snapshots as computed for ElastiCache clusters
2015-11-19 16:19:53 -06:00
Paul Hinze
75d056c878
provider/digitalocean: comment out test for relative DNS records
...
Until we hear back from DigitalOcean on whether this behavior is
supposed to be supported or not.
2015-11-19 16:11:42 -06:00
clint shryock
01b9af40d1
fix resource name in test
2015-11-19 15:44:40 -06:00
clint shryock
0874347478
update ami id for test
2015-11-19 15:37:05 -06:00
Joe Topjian
f9dd42ddce
provider/openstack: Add State Change support to LBaaS Resources
...
This commit adds State Change support to the LBaaS resources which should
help with clean terminations.
It also adds an acceptance tests that builds out a 2-node load balance
service.
2015-11-19 04:33:53 +00:00
chrislovecnm
98167cea79
merging upstream master
2015-11-18 16:09:05 -07:00
clint shryock
fd251e8b45
rename TestAccAWSRoute53Record_weighted to TestAccAWSRoute53Record_weighted_basic to test in isolation
2015-11-18 16:08:23 -06:00
Clint
5024d66f3c
Merge pull request #3970 from hashicorp/b-aws-iam-policy-attachfix
...
providers/aws: Fix typo in error checking for IAM Policy Attachments
2015-11-18 13:57:03 -06:00
clint shryock
5482e98927
Fix typo in error checking for IAM Policy Attachments
2015-11-18 13:48:46 -06:00
Paul Hinze
a211fc3469
Merge pull request #3965 from hashicorp/b-aws-sg-rules-v2-race
...
provider/aws: serialize SG rule access to fix race condition
2015-11-18 12:47:55 -06:00
Paul Hinze
6b6b5a43c3
provider/aws: serialize SG rule access to fix race condition
...
Because `aws_security_group_rule` resources are an abstraction on top of
Security Groups, they must interact with the AWS Security Group APIs in
a pattern that often results in lots of parallel requests interacting
with the same security group.
We've found that this pattern can trigger race conditions resulting in
inconsistent behavior, including:
* Rules that report as created but don't actually exist on AWS's side
* Rules that show up in AWS but don't register as being created
locally, resulting in follow up attempts to authorize the rule
failing w/ Duplicate errors
Here, we introduce a per-SG mutex that must be held by any security
group before it is allowed to interact with AWS APIs. This protects the
space between `DescribeSecurityGroup` and `Authorize*` / `Revoke*`
calls, ensuring that no other rules interact with the SG during that
span.
The included test exposes the race by applying a security group with
lots of rules, which based on the dependency graph can all be handled in
parallel. This fails most of the time without the new locking behavior.
I've omitted the mutex from `Read`, since it is only called during the
Refresh walk when no changes are being made, meaning a bunch of parallel
`DescribeSecurityGroup` API calls should be consistent in that case.
2015-11-18 12:39:59 -06:00
Brett Mack
815ff7ac63
Merge branch 'terraform' into hmrc
2015-11-18 17:56:28 +00:00
Nashwan Azhari
da8314ce8a
provider/aws: removed build-blocking unused variable.
2015-11-18 15:08:45 +02:00
Brett Mack
b0fdf8a032
Fixed failing test
2015-11-18 12:54:18 +00:00
Joe Topjian
51a2fbd6ae
Merge pull request #3927 from jtopjian/jtopjian-openstack-lbvip-attr-cleanup
...
provider/openstack: Clean up some attributes in LBaaS VIP resource
2015-11-17 20:19:25 -07:00
Radek Simko
306046b82b
Merge pull request #3955 from cbusbey/db_subnet_spaces
...
allow spaces in db subnet name
2015-11-17 22:38:36 +00:00
Clint
0bd8b32637
Merge pull request #3237 from GrayCoder/group-work
...
provider/aws: add support for group name and path changes with group update function
2015-11-17 16:37:40 -06:00
Chris Love
a5690b7510
removing debug print statements
2015-11-17 22:00:46 +00:00
Chris Busbey
12d51edeb6
allow spaces in db subnet name
2015-11-17 12:48:56 -08:00
Brett Mack
29dfc4322e
Add retry calls to protect against api rate limiting
2015-11-17 17:27:39 +00:00
Paul Hinze
7f9360797c
provider/aws: wait for ASG capacity on update
...
It's a bit confusing to have Terraform poll until instances come up on
ASG creation but not on update. This changes update to also poll if
min_size or desired_capacity are changed.
This changes the waiting behavior to wait for precisely the desired
number of instances instead of that number as a "minimum". I believe
this shouldn't have any undue side effects, and the behavior can still
be opted out of by setting `wait_for_capacity_timeout` to 0.
2015-11-17 10:25:41 -06:00
Clint
2ed867b5ab
Merge pull request #3945 from hashicorp/b-aws-r53-record-zone-fix
...
provider/aws: Fix crash in Route53 Record if Zone not found
2015-11-17 09:10:50 -06:00
James Nugent
edaaab9f62
Merge pull request #3948 from pshima/f-packet-net-provisioner-ip
...
Populate the provisioner connection info for packet.net devices
2015-11-17 13:26:10 +00:00
Brett Mack
c8dfecc65f
Check where nested structs could possibly be nil before trying to access their data
2015-11-17 11:40:37 +00:00
Brett Mack
f140c15039
Fixed null pointer panic during firewall rules test
2015-11-17 10:44:50 +00:00
Brett Mack
cc54785b1c
Merge branch 'terraform' into hmrc
2015-11-17 10:13:53 +00:00
Pete Shima
e2ef92f50f
Populate the provisioner connection info for packet.net devices with the ipv4 public address
2015-11-16 21:02:57 -08:00
Brandon Rochon
6875e9aaec
Issue #3894 RDS publicly_accessible param shouldn't force new resource
...
Change-Id: I0a10e050ca1c4f2dde5e04f237de6115723522d8
2015-11-16 17:47:35 -08:00
Paul Hinze
7e59d7f67c
Merge pull request #3901 from hashicorp/phinze/google-credentials
...
provider/google: read credentials as contents instead of path
2015-11-16 17:57:54 -06:00
Paul Hinze
010293992a
Merge pull request #3899 from hashicorp/phinze/azure-publish-settings
...
provider/azure: read publish_settings as contents instead of path
2015-11-16 17:54:43 -06:00
Paul Hinze
fb0dc4951d
provider/azure: read publish_settings as contents instead of path
...
Building on the work in #3846 , shifting the Azure provider's
configuration option from `settings_file` to `publish_settings`.
2015-11-16 17:47:56 -06:00
Radek Simko
00d0551933
aws: Add missing dereference operator
2015-11-16 23:19:45 +00:00
clint shryock
1413d032ee
provider/aws: Fix crash in Route53 Record if Zone not found
2015-11-16 17:15:17 -06:00
clint shryock
901e5fbf9f
fix log reference
2015-11-16 17:14:02 -06:00
clint shryock
8085e55eda
fix issue with undefined var
2015-11-16 16:29:52 -06:00
Radek Simko
a8ceda1b15
Merge pull request #3914 from TimeIncOSS/b-aws-ecs-service-gone
...
provider/aws: Prevent crashing when deleting ecs_service which is gone
2015-11-16 21:46:06 +00:00
clint shryock
70f1c9c1e6
remove duplicate readInstance call
2015-11-16 15:16:41 -06:00
Paul Hinze
eb9a93862b
provider/google: read credentials as contents instead of path
...
Building on the work in #3846 , shifting the Google provider's
configuration option from `account_file` to `credentials`.
2015-11-16 15:14:32 -06:00
clint shryock
66ad974193
add acceptance test for spot instanace updates
2015-11-16 15:11:44 -06:00
clint shryock
f31b30d4a5
minor tweaks to connection info setup
2015-11-16 14:51:14 -06:00
Paul Hinze
993ec0a320
Merge pull request #3909 from hashicorp/phinze/template-file-contents
...
template_file: source contents instead of path
2015-11-16 14:50:45 -06:00
clint shryock
d998e883fb
providers/aws: Update Spot Instance request to provide connection information
2015-11-16 14:43:24 -06:00
Brett Mack
ecc4ce3657
Converted firewall_rules rule set to a list type. Code tidy
2015-11-16 20:11:05 +00:00
Paul Hinze
afb416fba4
Merge pull request #2807 from dwradcliffe/f-dyn-provider
...
add Dyn provider
2015-11-16 13:53:44 -06:00
Radek Simko
5c59bd95cb
Merge pull request #3924 from TimeIncOSS/b-aws-ecs-td-computed
...
provider/aws: Make all fields in ecs_task_definition ForceNew
2015-11-16 15:31:17 +00:00
Silas Sewell
309e697a52
provider/tls: add locally signed certificates
...
This allows you to generate and sign certificates using a local CA.
2015-11-15 20:23:40 -05:00
Rafal Jeczalik
4f25b552bb
use single import path for aws-sdk-go
2015-11-16 00:42:08 +01:00
Joe Topjian
b4242e6f35
provider/openstack: Clean up some attributes in LBaaS VIP resource
...
This commit makes a few attributes computed so the generated information
is accessible after creation.
It also fixes the "persistence" attribute, which previously had a typo.
Finally, it converts "admin_state_up" to a Boolean to match the majority
of other attributes of the same name.
2015-11-14 21:16:23 +00:00
Radek Simko
33ca2a796f
Fix typo (Modifier -> Modified)
2015-11-14 12:19:29 +00:00
Radek Simko
308edd6dd7
provider/aws: Make all fields in ecs_task_definition ForceNew
...
- fixes https://github.com/hashicorp/terraform/issues/2694
2015-11-14 10:36:01 +00:00
Radek Simko
aae8fc8494
provider/aws: Add acceptance test for bugfix for #2694
2015-11-14 10:34:17 +00:00
Radek Simko
d5ae5ba062
Merge pull request #3910 from hashicorp/phinze/s3-object-homedir-expand
...
provider/aws: homedir expand in s3 object source
2015-11-14 09:35:09 +00:00
Radek Simko
e7c88eab35
openstack: fix go vet error (bool modifier is %t)
2015-11-14 08:19:22 +00:00
Joe Topjian
19fc2193f4
Merge pull request #3904 from jtopjian/jtopjian-openstack-port-attr-cleanup
...
provider/openstack: Make Networking Port attributes more intuitive
2015-11-13 20:15:29 -07:00
Joe Topjian
f2a5064538
Merge pull request #3857 from jtopjian/jtopjian-openstack-secgroup-rule-fix2
...
provider/openstack: Security Group Rule fixes
2015-11-13 20:13:46 -07:00
Radek Simko
0822776de0
provider/aws: If ecs_service isn't found during Read, delete it
2015-11-13 21:45:21 +00:00
Radek Simko
d9a5de7f7d
provider/aws: Prevent crashing when deleting ecs_service which is gone
...
- fixes https://github.com/hashicorp/terraform/issues/3868
2015-11-13 21:42:29 +00:00
clint shryock
7d94c86958
go fmt structure files
2015-11-13 13:53:52 -06:00
Chris Love
50d36f108b
merging
2015-11-13 12:52:07 -07:00
Chris Love
ce6f0ae5e4
testing finished
2015-11-13 12:49:40 -07:00
Chris Love
6615285d63
working on read and more testing
2015-11-13 12:49:40 -07:00
Chris Love
8c47441a8b
adding new functional test
2015-11-13 12:49:06 -07:00
Chris Love
cae7fd8e4a
fixing if and AnyTypes
2015-11-13 12:47:17 -07:00
Chris Love
b47d1cda7c
adding capability to set custom configuration value in virtual machines
2015-11-13 12:47:17 -07:00
Chris Love
0f46b3a6c5
working on read and more testing
2015-11-13 12:43:06 -07:00
Chris Love
728b2bed63
adding new functional test
2015-11-13 12:43:06 -07:00
Chris Love
bc36ba7f3c
fixing if and AnyTypes
2015-11-13 12:43:06 -07:00
Chris Love
e899a2949f
adding capability to set custom configuration value in virtual machines
2015-11-13 12:43:06 -07:00
Sunil K Chopra
bf88ee8ddb
fix test to include creation of placement group
2015-11-13 12:40:19 -06:00
Paul Hinze
928f534cfc
template_file: source contents instead of path
...
Building on the work of #3846 , deprecate `filename` in favor of a
`template` attribute that accepts file contents instead of a path.
Required a bit of work in the interpolation code to prevent Terraform
from assuming that template interpolations were resource variables that
needed to be resolved. Leaving them as "Unknown Variables" prevents
interpolation from happening early and lets the `template_file` resource
do its thing.
2015-11-13 11:24:20 -06:00
Paul Hinze
44f259bd74
provider/aws: homedir expand in s3 object source
...
fixes #3856
2015-11-13 11:21:22 -06:00
clint shryock
e94fcdb9df
add validation for cookie stickiness
2015-11-13 10:46:27 -06:00
clint shryock
b81f9a9c52
provider/aws: Fix issue with LB Cookie Stickiness and empty expiration period
2015-11-13 10:34:15 -06:00
Joe Topjian
edd8e722bf
provider/openstack: Make Networking Port attributes more intuitive
...
This commit makes some quick updates to the port attributes to make them
more intuitive:
* `security_groups` to `security_group_ids`: since the port is expecting
IDs and not security group names like in other areas of OpenStack.
* `admin_state_up`: change to Boolean to match this same attribute on
other resources.
* `fixed_ips` to `fixed_ip`: while multiple `fixed_ip` blocks can be
specified, only one fixed IP can be specified in each block.
2015-11-13 04:46:12 +00:00
Joe Topjian
4d6e3289bc
provider/openstack: adding test for router interface port
2015-11-13 04:04:05 +00:00
Kirill Shirinkin
3a1a242a7a
provider/openstack: Allow port_id for router interface
2015-11-13 03:13:12 +00:00
James Nugent
839fc5bfee
Merge pull request #3900 from Banno/fix-aws-route53-record-failover-weight
...
provider/aws: fix for creating failover route53 records
2015-11-12 16:56:59 -06:00
clint shryock
6fa69ede1c
add debugging statements to add/remove listeners
2015-11-12 16:20:54 -06:00
Luke Amdor
10ca0559ae
provider/aws: no weight for all set_identifier
2015-11-12 16:15:05 -06:00
clint shryock
c60a963908
providers/aws: Retry deleting IAM Server Cert on dependency violation
...
This will retry deleting a server cert
if it throws an error about being in use with an ELB (that we've likely just
deleted)
Includes test for ELB+IAM SSL cert bug dependency violation
2015-11-12 16:07:34 -06:00
Brandon Rochon
b6738f13c1
Issue #3894 RDS publicly_accessible param shouldn't force new resource
...
Change-Id: I833f9e07f3fc1f6ee475673ad978b3982f0b6273
2015-11-12 13:33:27 -08:00
Lars Wander
7be90215bc
provider/google: Fix instance group manager instance restart policy
2015-11-12 15:44:31 -05:00
clint shryock
5cafe740ff
update wording on ssl cert error
2015-11-12 14:25:50 -06:00
clint shryock
1b2e068b19
add extra test block
2015-11-12 14:25:50 -06:00
clint shryock
fddafd2b96
providers/aws: Document and validate ELB ssl_cert and protocol requirements
2015-11-12 14:25:50 -06:00
Clint
dcf40661c8
Merge pull request #3863 from hashicorp/b-aws-elb-access-fix
...
providers/aws: Fix issue with removing access_logs from ELB
2015-11-12 14:24:58 -06:00
clint shryock
12d2ae1438
patch TestExpandElasticacheParameters test
2015-11-12 10:45:49 -06:00
clint shryock
e7e52ed98f
Correct test method names so that they are ran
2015-11-12 10:36:22 -06:00
James Nugent
cbbe06388f
Merge pull request #3883 from lwander/f-gcp-https-health-checks
...
provider/google: HTTPS Health Checks Resource + Tests & Documentation
2015-11-12 10:02:39 -06:00
Lars Wander
28819603ba
provider/google: HTTPS health checks resource + tests & documentation
2015-11-12 10:48:26 -05:00
Michael H. Oshita
90d70786ac
Align IAM version number to the current version (2012-10-17)
2015-11-13 00:32:45 +09:00
Joe Topjian
3db7922b53
provider/openstack: Security Group Rule fixes
...
This commit fixes an issue with security group rules where the rules
were not being correctly computed due to a typo in the rule map.
Once rules were successfully computed, the rules then needed to be
converted into a Set so they can be correctly ordered.
2015-11-12 03:15:52 +00:00
Radek Simko
15a568c806
Merge pull request #3828 from TimeIncOSS/b-aws-ecs-service-del
...
provider/aws: Treat ecs_service w/ Status==INACTIVE as deleted
2015-11-12 00:01:50 +00:00
Radek Simko
bcd63f62a3
provider/aws: Log removal of INACTIVE ECS service
2015-11-11 23:53:59 +00:00
Chris Love
54b103b9c7
testing finished
2015-11-11 22:42:36 +00:00
clint shryock
7f2244183c
providers/aws: Fix issue with removing access_logs from ELB
2015-11-11 15:25:24 -06:00
Chris Love
0bf8ffd043
working on read and more testing
2015-11-11 18:43:47 +00:00
Chris Love
106b126448
adding new functional test
2015-11-11 18:43:47 +00:00
Chris Love
6e19c3f0e0
fixing if and AnyTypes
2015-11-11 18:43:47 +00:00
Chris Love
3f37884721
adding capability to set custom configuration value in virtual machines
2015-11-11 18:43:47 +00:00
clint shryock
b51f425dac
replace big retry func with resource.Retry
2015-11-11 10:53:23 -06:00
clint shryock
1ddfd7ced3
provider/aws: Add a retry function to rescue an error in creating Lifecycle Hooks
2015-11-11 10:25:23 -06:00
Clint
caa0baaf87
Merge pull request #3756 from hashicorp/pr-3708
...
providers/aws: Add `access_logs` to ELB resource [GH-3756]
2015-11-11 09:54:43 -06:00
Clint
dda6973c0a
Merge pull request #3677 from hashicorp/pr-2637
...
provider/aws: Add AutoMinorVersionUpgrade to RDS [GH-3677]
2015-11-11 09:48:24 -06:00
James Nugent
f79af0a445
Merge pull request #3847 from betawaffle/master
...
Add queued as a pending state for Packet provider.
2015-11-11 10:41:00 -05:00
clint shryock
03e7c6cf12
default true for auto_minor_update and allow updates for RDS DB Instance
2015-11-11 09:36:37 -06:00
YuusukeMatsuura
7dd6b779ca
Add AutoMinorVersionUpgrade to RDS.
2015-11-11 09:35:53 -06:00
Brett Mack
dc8924b537
Changed vcd_vapp resource to make better use of Update function
2015-11-10 23:35:25 +00:00
Radek Simko
ac6efd86ed
Merge pull request #3810 from TimeIncOSS/f-aws-ecs-ephemeral-volumes
...
provider/aws: Support scratch volumes in ecs_task_definition
2015-11-10 23:22:22 +00:00
clint shryock
8c32536f3d
return err if we fail to set access_logs; other cleanups
2015-11-10 16:58:24 -06:00
clint shryock
0a1890c329
Merge branch 'master' into pr-3708
...
* master: (95 commits)
Update CHANGELOG.md
Update CHANGELOG.md
Update CHANGELOG.md
Update CHANGELOG.md
upgrade a warning to error
add some logging around create/update requests for IAM user
Update CHANGELOG.md
Update CHANGELOG.md
Build using `make test` on Travis CI
Update CHANGELOG.md
provider/aws: Fix error format in Kinesis Firehose
Update CHANGELOG.md
Changes to Aws Kinesis Firehouse Docs
Update CHANGELOG.md
modify aws_iam_user_test to correctly check username and path for initial and changed username/path
Update CHANGELOG.md
Update CHANGELOG.md
Prompt for input variables before context validate
Removing the AWS DBInstance Acceptance Test for withoutEngine as this is now part of the checkInstanceAttributes func
Making engine_version be computed in the db_instance provider
...
2015-11-10 16:52:45 -06:00
Clint
68764e6def
Merge pull request #3777 from hashicorp/pr-3751
...
provider/aws: fix panic with SNS topic policy if omitted
2015-11-10 16:45:42 -06:00
Clint
9e93f655e2
Merge pull request #3829 from hashicorp/b-aws-ecs-cluster-read
...
provider/aws: Fix issue that could occur if no ECS Cluster was found for a give name
2015-11-10 16:43:42 -06:00
Clint
dbc008e330
Merge pull request #3574 from hashicorp/b-aws-r53-name-fix
...
provider/aws: Downcase Route 53 record names in statefile
2015-11-10 16:41:40 -06:00
Clint
bea8e0b14f
Merge pull request #3780 from hashicorp/b-aws-elb-source-sg-id
...
providers/aws: Provide source security group id for ELBs
2015-11-10 16:38:55 -06:00
clint shryock
7152674f9b
upgrade a warning to error
2015-11-10 16:27:41 -06:00
clint shryock
b16b634e2b
add some logging around create/update requests for IAM user
2015-11-10 16:19:15 -06:00
Clint
8b1f7498af
Merge pull request #3227 from GrayCoder/master
...
provider/aws Implement username updates properly for aws-sdk-go
2015-11-10 16:17:07 -06:00
James Nugent
06d493cfb6
Merge pull request #3849 from hashicorp/b-fix-kinesis-firehose-vet
...
provider/aws: Fix error format in Kinesis Firehose
2015-11-10 16:55:53 -05:00
Clint
51fd5fafef
Merge pull request #3744 from stack72/f-aws-db-instance
...
provider/aws: Changing the db_instance resource to mark the engine_version as Optional
2015-11-10 15:48:06 -06:00
James Nugent
b48bd30227
provider/aws: Fix error format in Kinesis Firehose
2015-11-10 16:39:23 -05:00
James Nugent
7c50e3ed65
Merge pull request #3833 from stack72/aws-kinesis-firehose
...
provider/aws: Add Kinesis Firehose resource
2015-11-10 16:04:48 -05:00
Clint
5708457610
Merge pull request #3802 from pforman/2911-lc-prefix
...
provider/aws: add name_prefix option to launch config
2015-11-10 14:43:08 -06:00
Andrew Hodges
2962305125
Add queued as a pending state for Packet provider.
2015-11-10 15:38:08 -05:00
Patrick Gray
eadee6bd33
modify aws_iam_user_test to correctly check username and path for initial and changed username/path
2015-11-10 15:24:45 -05:00
Clint
32df5c05bf
Merge pull request #3827 from TimeIncOSS/b-aws-iam-saml-arn
...
provider/aws: Set previously missing ARN in iam_saml_provider
2015-11-10 14:20:25 -06:00
Brett Mack
a15c99e5bb
Code cleanup to address PR comments
2015-11-10 18:39:58 +00:00
stack72
6e21cd746e
Removing the AWS DBInstance Acceptance Test for withoutEngine as this is now part of the checkInstanceAttributes func
2015-11-10 17:35:12 +00:00
Paul Stack
e3a66d0928
Making engine_version be computed in the db_instance provider
2015-11-10 17:30:19 +00:00
stack72
1abb0b19bf
Changing the db_instance resource to mark the engine_version as Optional
2015-11-10 17:30:09 +00:00
Dave Cunningham
0d69159fc5
Merge pull request #3804 from kenshiro-o/add_gce_pubsub_auth_endpoint
...
providers/google: add pubsub auth endpoint
2015-11-10 11:27:34 -05:00
stack72
d14d891367
Finishing the first pass at Kinesis Firehose. I have only implemented the S3 configuration right now as Terraform doesn't include RedShift support
2015-11-10 16:24:33 +00:00
ryane
4fc60c9f89
docker: improve validation of runtime constraints
2015-11-09 19:36:23 -05:00
stack72
5dfa9ac823
Adding the shell for the acceptance tests for the AWS Kinesis Firehose work
2015-11-09 22:44:26 +00:00
stack72
fc983c5505
Initial Create, Read and Delete work for the S3 part of the Kinesis Firehose resource
2015-11-09 22:26:55 +00:00
clint shryock
2694022b4a
Fix a panic that could occur if no ECS Cluster was found for a given cluster name
2015-11-09 14:33:20 -06:00
Radek Simko
9683896480
provider/aws: Treat ecs_service w/ Status==INACTIVE as deleted
...
- fixes https://github.com/hashicorp/terraform/issues/3582
2015-11-09 20:46:05 +01:00
Radek Simko
cf5cfdbff0
provider/aws: Set previously missing ARN in iam_saml_provider
...
- fixes https://github.com/hashicorp/terraform/issues/3820
2015-11-09 20:26:23 +01:00
Joe Topjian
29636dc51d
provider/openstack: Revert Security Group Rule Fix
...
This commit reverts the patch from #3796 .
It has been discovered that multiple rules are being reported out
of order when the configuration is applied multiple times. I feel
this is a larger issue than the bug this patch originally fixed,
so until I can resolve it, I am reverting the patch.
2015-11-09 17:31:40 +00:00
Radek Simko
63049c0176
provider/aws: Support scratch volumes in ecs_task_definition
2015-11-08 20:31:34 +01:00
Joe Topjian
37d4316c13
Merge pull request #3801 from jtopjian/jtopjian-openstack-secgroup-computed
...
provider/openstack: Make Security Groups Computed
2015-11-07 12:31:15 -07:00
Joe Topjian
1bb26a4cc2
Merge pull request #3796 from jtopjian/jtopjian-openstack-secgroup-rule-fix
...
provider/openstack: Security Group Rules Fix
2015-11-07 12:29:53 -07:00
Eddie Forson
ad1c28990c
providers/google: add pubsub auth endpoint #3803
2015-11-07 14:05:03 +00:00
Paul Forman
4d640c6528
providers/aws: add name_prefix option to launch config
...
See #2911 .
This adds a `name_prefix` option to `aws_launch_configuration` resources.
When specified, it is used instead of `terraform-` as the prefix for the
launch configuration. It conflicts with `name`, so existing
functionality is unchanged. `name` still sets the name explicitly.
Added an acceptance test, and updated the site documentation.
2015-11-07 01:29:16 -07:00
Joe Topjian
98a441314b
provider/openstack: Make Security Groups Computed
...
This commit makes security groups in the openstack_compute_instance_v2
resource computed. This fixes issues where a security group is omitted
which causes the instance to have the "default" group applied. When
re-applying without this patch, an error will occur.
2015-11-07 04:01:50 +00:00
clint shryock
d6f6a3b3f5
Merge branch 'master' of github.com:hashicorp/terraform
...
* 'master' of github.com:hashicorp/terraform:
Update CHANGELOG.md
Adding S3 support for Lambda provider
2015-11-06 16:55:32 -06:00
clint shryock
ccd37796ec
Merge branch 'pr-3707'
...
* pr-3707:
config updates for ElastiCache test
Removing the instance_type check in the ElastiCache cluster creation. We now allow the error to bubble up to the userr when the wrong instance type is used. The limitation for t2 instance types now allowing snapshotting is also now documented
Making the changes to the snapshotting for Elasticache Redis as per @catsby's findings
Added an extra test for the Elasticache Cluster to show that updates work. Also added some debugging to show that the API returns the Elasticache retention period info
When I was setting the update parameters for the Snapshotting, I didn't update the copy/pasted params
Adding the ability to specify a snapshot window and retention limit for Redis ElastiCache clusters
2015-11-06 16:55:16 -06:00
clint shryock
dbd2a43f46
config updates for ElastiCache test
2015-11-06 16:55:04 -06:00
Rob Zienert
327bd4f9c0
Adding S3 support for Lambda provider
2015-11-06 15:57:18 -06:00
Joe Topjian
0e9397fc74
provider/openstack: Security Group Rules Fix
...
This commit fixes how security group rules are read by Terraform and
enables them to be correctly removed when the rule resource is
modified.
2015-11-06 21:52:30 +00:00
clint shryock
15533dca09
actually use the value
2015-11-06 14:06:50 -06:00
Joe Topjian
4c1083c9c5
provider/openstack: fix test formatting
2015-11-06 17:32:30 +00:00
Joe Topjian
1656e2837c
Merge pull request #3772 from Fodoj/add-fixed-ips-to-openstack-ports
...
provider/openstack: Add fixed ips to openstack ports
2015-11-06 10:21:20 -07:00
clint shryock
c905bfef22
Test source_security_group_id for ELBs
2015-11-06 11:18:57 -06:00
Brett Mack
b6abb91b83
Class a resource that is in tfstate but unable to be found on the provider as deleted
2015-11-06 16:39:40 +00:00
stack72
350f91ec06
Removing the instance_type check in the ElastiCache cluster creation. We now allow the error to bubble up to the userr when the wrong instance type is used. The limitation for t2 instance types now allowing snapshotting is also now documented
2015-11-06 11:16:51 +00:00
Brett Mack
bda4ef7e7c
Merge branch 'terraform' into hmrc
2015-11-06 10:22:25 +00:00
Brett Mack
7c09f9653d
Changed vmware-govcd dependency to pull from hmrc
2015-11-06 10:19:59 +00:00
Kirill Shirinkin
d5e6929118
Fix tests
2015-11-06 11:10:44 +01:00
clint shryock
9390674a05
providers/aws: Provide source security group id for ELBs
2015-11-05 16:43:49 -06:00
clint shryock
274781224e
provider/aws: fix panic with SNS topic policy if omitted
2015-11-05 15:25:04 -06:00
Matt Morrison
ede5ebb368
Add logging when instance no longer exists
2015-11-06 10:15:35 +13:00
Clint
cb52e23226
Merge pull request #3757 from stack72/f-aws-rds-cluster-backup
...
provider/aws: RDS Cluster additions
2015-11-05 14:28:18 -06:00
Paul Hinze
e85a618d67
Merge pull request #3717 from rakutentech/improve-acceptance-test
...
provider/vsphere: Fix acceptance tests for using optional parameters
2015-11-05 13:07:20 -06:00
Paul Hinze
b95e3fd1a2
Merge pull request #3652 from foehn/master
...
Vsphere_virtual_machine: Network interfaces
2015-11-05 13:06:16 -06:00
stack72
6a5e591143
Removing an unnecessary duplicate test for the RDS Cluster Backups
2015-11-05 19:01:41 +00:00
Kirill Shirinkin
3a63b48f97
provider/openstack: fixed_ips implementation for ports
2015-11-05 19:23:05 +01:00
Clint
c811dc98fd
Merge pull request #3768 from stack72/f-digitalocean-droplet-404
...
provider/digitalocean: Fixing the DigitalOcean Droplet 404 potential on refresh of state
2015-11-05 11:38:32 -06:00
stack72
6a811e2e4f
Logging that the DO droplet wasn't found before removing it
2015-11-05 17:32:57 +00:00
stack72
9cee18b3de
ElastiCache cluster read tolerates removed cluster.
...
Previously it would fail if a Terraform-managed ElastiCache cluster were
deleted outside of Terraform. Now it marks it as deleted in the state so that
Terraform can know it doesn't need to be destroyed, and can potentially
recreate it if asked.
2015-11-05 08:55:35 -08:00
Brett Mack
cb90e6c037
Merge branch 'master' into hmrc
2015-11-05 16:35:27 +00:00
stack72
2504cb4624
Changing the DigitalOcean Droplet 404 from a message string to an actual 404 status code
2015-11-05 16:33:29 +00:00
stack72
032a42797e
Fixing the DigitalOcean Droplet 404 potential on refresh of state
2015-11-05 15:01:07 +00:00
stack72
ca2ea80af3
Making the changes to the snapshotting for Elasticache Redis as per @catsby's findings
2015-11-05 12:23:07 +00:00
stack72
409df4866d
Changes after the feedback from @catsby - these all made perfect sense
2015-11-05 10:25:01 +00:00
Matt Morrison
5f90a4bc7e
Issue #3742 - terraform destroy fails if Google Compute Instance no longer exists
2015-11-05 12:38:17 +13:00
Paul Hinze
bf11be82c8
provider/digitalocean: enhance user_data test
...
Checks to ensure that the droplet is recreated. Commenting out
`ForceNew` on `user_data` fails the test now.
/cc @stack72
2015-11-04 15:20:52 -06:00
stack72
4e485d4254
Fixing the spelling mistakes and adding a test to prove that the Updates to the new properties of RDS Cluster work as expected
2015-11-04 21:06:41 +00:00
ryane
b5ae355a99
include hostconfig when creating docker_container
2015-11-04 15:52:16 -05:00
ryane
1f739d31da
fix resource constraint specs
2015-11-04 15:52:16 -05:00
ryane
72c86a62c0
support for log driver + config in docker container
2015-11-04 15:52:16 -05:00
ryane
4531866d8d
add label support to docker container resource
2015-11-04 15:52:15 -05:00
ryane
6842c32d03
add basic runtime constraints to docker_container
2015-11-04 15:52:15 -05:00
ryane
17d185808e
restart policy support for docker_container
2015-11-04 15:52:15 -05:00
ryane
0ded14f160
entrypoint support for docker_container resource
2015-11-04 15:52:15 -05:00
stack72
1d0dbc5d19
Adding backup_retention_period, preferred_backup_window and preferred_maintenance_window to RDS Cluster
2015-11-04 19:40:22 +00:00
clint shryock
5f7254eb1a
providers/aws: Add ELB Access Logs (continues #3708 )
...
- continues #3708
- adds some tests
- other fixes I found along the way
2015-11-04 11:58:29 -06:00
Tomas Doran
87dd5c5bd0
Fix panic I see when upgrading to 0.6.6
...
Check if the policy is nil or not before type casting it
2015-11-04 04:23:13 -08:00
clint shryock
2e03a7ebff
go fmt after rebase
2015-11-03 16:30:18 -06:00
Trevor Pounds
4e3d0b5f6c
Fix schema conversion.
2015-11-03 16:29:57 -06:00
Trevor Pounds
91b1d0c23d
Can only set access logs once per ELB.
2015-11-03 16:29:57 -06:00
Trevor Pounds
e8f1f57ead
Fix int64 cast.
2015-11-03 16:29:57 -06:00
Florin Patan
e173b60f10
Changes per feedback
2015-11-03 16:29:57 -06:00
Florin Patan
e390d7ddf2
Add elb access logs setting
2015-11-03 16:29:57 -06:00
stack72
ffdd4de326
Making user_data force a new droplet for DigitalOcean
2015-11-03 20:53:54 +00:00
Dave Cunningham
bb5eb4ff46
Merge pull request #3702 from lwander/f-gcp-global-forwarding-rule
...
provider/google: global forwarding rule tests & documentation
2015-11-03 13:41:08 -05:00
Lars Wander
d344d3e39a
provider/google: global forwarding rule tests & documentation
2015-11-03 13:31:46 -05:00
Lars Wander
d11524682a
provider/google: Target HTTPS proxy resource + tests & documentation
2015-11-03 12:34:13 -05:00
Dave Cunningham
0097d7105b
Merge pull request #3727 from lwander/f-gcp-target-http-proxy
...
provider/google: Target HTTP proxy resource + tests & documentation
2015-11-03 12:12:01 -05:00
Lars Wander
e7ebb0ac40
provider/google: target http proxies resource + tests & documentation
2015-11-03 08:54:30 -05:00
stack72
707bfd739a
Added an extra test for the Elasticache Cluster to show that updates work. Also added some debugging to show that the API returns the Elasticache retention period info
2015-11-03 12:35:24 +00:00
Joe Topjian
312d371ce9
provider/openstack: Additions to the OpenStack Port resource
...
This commit adds further work to the OpenStack port resource:
* Makes relevant fields computed
* Adds state change functions
* Adds acceptance tests
* Adds Documentation
2015-11-03 06:07:32 +00:00
Jean Mertz
7d11b4b7e7
provider/openstack: openstack_networking_port_v2 resource
2015-11-03 05:35:05 +00:00
Joe Topjian
cc54d9e0fd
provider/openstack: State Changes for Networking Resources
...
This commit adds create and delete state change checks for the "core"
networking resources.
2015-11-03 05:12:22 +00:00
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
Brett Mack
95ec9a9fbf
Refresh firewall rules after each failure before trying to append new rules
2015-11-02 19:09:24 +00: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
Brett Mack
965882bfdf
Added protection for api limiting
2015-11-02 16:39:56 +00:00
Sunil K Chopra
df41f10d1d
tests! yes! (thanks stack72)
2015-11-02 09:37:09 -06:00
Sunil K Chopra
c7b02d9fdb
handling updates
2015-11-02 09:33:46 -06:00
Sunil K Chopra
68c7baa20e
as per advice from stack72 to stick to strings
2015-11-02 09:33:35 -06:00
Sunil K Chopra
0d2007e8bd
as per advice from stack72, simplified
2015-11-02 09:26:25 -06:00
Brett Mack
8376a5a160
Merge branch 'terraform'
2015-11-02 13:57:44 +00:00
Brett Mack
8780bd269a
Added vCloud Director provider with tests and provider documentation
2015-11-02 13:39:25 +00: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
Sunil K Chopra
006cac56a2
added placement group as an option for autoscaling groups
2015-10-30 16:45:19 -05: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
AJ Bahnken
ab273bb2ee
Fixed up measure_latency option in r53 health checks.
...
* Added ignoring of param when Type is CALCULATED
* Added ForceNew param to measure_latency item in schema
* Added check to test
2015-10-29 12:50:02 -07:00
AJ Bahnken
c1bb852390
Added measure_latency option to Route 53 Health Check resource.
...
Related to #3273
2015-10-29 10:28:26 -07: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
Joshua Semar
31767accac
get profile name even if profile path exists
2015-10-27 21:30:44 -05: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
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
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
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
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
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
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
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
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