Armon Dadgar
7a3b4fa7ce
Merge pull request #648 from yahyapo/master
...
Adding tag support to AWS EC2 route table resource.
2014-12-10 19:24:38 -08:00
Sander van Harmelen
17bc60fb68
Merge pull request #645 from svanharmelen/f-cloudstack-provider
...
First release of a provider for CloudStack
2014-12-10 22:33:09 +01:00
Mitchell Hashimoto
f0de69b3c5
provider/atlas: bin
2014-12-10 13:27:12 -08:00
Mitchell Hashimoto
edc4a277d6
provider/atlas: fix required token
2014-12-10 13:27:11 -08:00
Armon Dadgar
0ff62016ee
provider/aws: Fixing ASG handling of not found
2014-12-10 13:27:11 -08:00
Mitchell Hashimoto
124d9fc0bd
providers/atlas: make errors more readable
2014-12-10 13:27:11 -08:00
Mitchell Hashimoto
04eb1885f1
providers/atlas: force new
2014-12-10 13:27:06 -08:00
Mitchell Hashimoto
a8c05acd1d
providers/atlas
2014-12-10 13:27:06 -08:00
Sander van Harmelen
4910423d83
First release of a provider for CloudStack
...
Of course not all resources are covered by this first release, but
there should be enough resources available to handle most common
operations.
Tests and docs are included.
2014-12-10 22:20:52 +01:00
Armon Dadgar
633a08230e
Merge pull request #638 from snehaso/tag_for_acl
...
[AWS] added tags for aws_network_acl
2014-12-10 12:59:22 -08:00
Armon Dadgar
9668c8292f
Merge pull request #637 from snehaso/vpc_tenanct
...
[AWS] added vpc instance_tenancy
2014-12-10 12:58:50 -08:00
Armon Dadgar
8e32076d55
Merge pull request #635 from snehaso/cross_zone_lb
...
[AWS] enabled cross zone load balancing
2014-12-10 10:55:54 -08:00
Yahya Poonawala
b595c73d42
Adding tag support to AWS EC2 route table resource.
2014-12-11 00:03:13 +05:30
Sneha Somwanshi
5e3e8562fc
added tags for aws_network_acl
2014-12-10 16:29:00 +05:30
Sneha Somwanshi
89f1a38f5b
added vpc tenancy argument
2014-12-10 16:10:00 +05:30
Sneha Somwanshi
1d3e30b353
enabled cross zone load balancing
2014-12-10 12:49:43 +05:30
Armon Dadgar
82e60bb3cd
Merge pull request #631 from snehaso/network_acl
...
aws_network_acl: return error if rule protocol is invalid
2014-12-09 09:07:44 -08:00
Sneha Somwanshi
aad594aed3
aws_network_acl: return error if protocol is invalid
2014-12-08 16:53:05 +05:30
Armon Dadgar
38697d6b4c
aws: Making security group ingress rules optional
2014-12-07 23:52:04 -08:00
Armon Dadgar
fae29f4685
Merge pull request #506 from muralimadhu/master
...
Support termination policies in aws auto scaling group
2014-12-07 23:35:33 -08:00
Armon Dadgar
03d4a425b6
Merge pull request #623 from snehaso/network_acl
...
[AWS] added new resource aws_network_acl
2014-12-07 23:09:51 -08:00
Sneha Somwanshi
4b154b8fe7
Fixed update of ingress/egress rules
2014-12-08 11:00:55 +05:30
Armon Dadgar
7182e5618e
Merge pull request #612 from MerlinDMC/feature/aws_block_device_virtual_name
...
allow setting the block device virtual_name
2014-12-03 12:08:07 -08:00
Armon Dadgar
a2c8859f04
Merge pull request #615 from Banno/fix-aws-instance-block-devices-index-range
...
fixing array length for aws instance volumes
2014-12-03 12:00:31 -08:00
Armon Dadgar
f7a0b7ac1d
Merge pull request #617 from josephholsten/simplify-do-droplet-image-loading
...
simplify digitalocean_droplet.image loading
2014-12-03 11:59:52 -08:00
Sneha Somwanshi
c79e6ba08b
handled subnet and network acl association
2014-12-03 16:37:50 +05:30
Sneha Somwanshi
86aafdb839
test for tenancy schema
2014-12-03 15:58:51 +05:30
Joseph Anthony Pasquale Holsten
5b0894b5cd
simplify digitalocean_droplet.image loading
...
If a droplet's image slug is empty and its image id is empty, then the
image attribute should be empty, so we may assign from either. So it is
unnecessary to check if the image id is empty.
* remove unnecessary check for emptiness of image id
* reverse order of the conditions for assigning the image attribute,
with the default case (using the slug) first, and the fallback case
(using the id) second
2014-12-01 11:36:05 -08:00
Sneha Somwanshi
cd0f9761da
rearranged the tests
2014-12-01 14:19:39 +05:30
Luke Amdor
f3ff4bece8
fixing array length for aws instance volumes
2014-11-30 08:24:23 -06:00
Sneha Somwanshi
5eec8a531c
Added CRUD operations for network acl
2014-11-30 17:10:54 +05:30
Sneha Somwanshi
d4a887278e
flatten/expand operations for network_acl
2014-11-30 17:09:37 +05:30
Sneha Somwanshi
bd9e9ec0c4
Add support for network acls
2014-11-26 19:14:02 +05:30
Sneha Somwanshi
dca2d9aa4c
acceptance test for creating network acl
2014-11-26 19:12:59 +05:30
Sneha Somwanshi
cebea04cce
added provider for aws_network_acl
2014-11-26 19:12:39 +05:30
Sneha Somwanshi
f63e032c23
Merge remote-tracking branch 'upstream/master'
2014-11-26 17:06:42 +05:30
Armon Dadgar
ccf7f40711
Merge pull request #596 from svanharmelen/f-refactor-aws-provider
...
provider/aws: refactor to use the schema.Provider approach
2014-11-24 16:30:41 -08:00
Sander van Harmelen
d3e1a6678d
Making some last tweaks and fixing some acc tests
2014-11-24 21:22:18 +01:00
Seth Vargo
eb729d17c7
Merge pull request #546 from tmtk75/dev/enable-associate-public-ip
...
support associate_public_ip_address for aws_launch_configuration
2014-11-24 09:58:26 -05:00
Sander van Harmelen
0725486e89
Refactored the last two resources
2014-11-24 14:04:48 +01:00
Tomotaka Sakuma
db8256a4a7
add associate_public_ip_address attr to the acceptance test of aws_launch_configuration
2014-11-24 13:27:41 +09:00
Daniel Malon
1e3065ae11
allow setting the block device virtual_name
2014-11-22 09:50:22 +00:00
Sander van Harmelen
eccd5ad308
Refactored about 90%
...
Still need to update 2 resources and check the acceptance tests, but
overall we’re nearly there 😃
2014-11-21 17:58:34 +01:00
Madhu
23c3280c1d
{
2014-11-20 14:18:14 -08:00
Madhu
a987ce3db0
so my fix works
2014-11-20 14:16:24 -08:00
Seth Vargo
d7a9b663b4
Merge pull request #585 from fdr/routes-optional
...
Make Routes in RouteTable optional
2014-11-20 11:19:15 -05:00
Seth Vargo
b7de15f8b9
Merge pull request #586 from svanharmelen/f-update-google-provider
...
Fix acc tests and updated the provider schema to use a DefaultFunc
2014-11-20 11:17:01 -05:00
Sander van Harmelen
6be4b2e807
A really small update fixing a cosmetic inconsistentie
...
For the OCD types among us, this inconsistentie (only location where
droplet is spelled with a capital) drives me mad
😝
2014-11-20 15:09:22 +01:00
Sander van Harmelen
36ed95c86d
Fixing the acc tests
...
I do wonder when these tests where last run successfully… Must be quite
some time ago considering what I needed to fix in here 😉
2014-11-20 14:30:02 +01:00
Sander van Harmelen
bed36cc86a
Refactoring the resourceInstanceTags func just a little
...
My eye caught this somewhat un-logic mixed use of ‘vs’ and
‘v.(*schema.Set)’, so thought to make it a little cleaner…
2014-11-20 11:32:15 +01:00
Sander van Harmelen
144ceb8003
providers/google: update schema to use a DefaultFunc
...
This makes testing easier and gives you a way to configure the provider
using env variables. It also makes the provider more inline following
the TF 0.2 approach.
2014-11-20 11:25:23 +01:00
Daniel Farina
67b03247ec
Make Routes in RouteTable optional
...
Otherwise it is impossible to get simple configurations with the
"default" routing table, which is only the "local" route.
The following contents of main.tf expose the bug, and boots an instance
fine after this patch is applied:
variable aws_access_key {}
variable aws_secret_key {}
variable aws_ubuntu_ami {}
provider "aws" {
access_key = "${var.aws_access_key}"
secret_key = "${var.aws_secret_key}"
region = "us-east-1"
}
resource "aws_vpc" "default" {
cidr_block = "10.0.0.0/20"
}
resource "aws_route_table" "private" {
vpc_id = "${aws_vpc.default.id}"
# Note the lack of "route" sub-key here.
}
resource "aws_subnet" "private" {
vpc_id = "${aws_vpc.default.id}"
cidr_block = "10.0.1.0/24"
}
resource "aws_route_table_association" "private" {
subnet_id = "${aws_subnet.private.id}"
route_table_id = "${aws_route_table.private.id}"
}
# Demonstrate an instance can be booted fine in this fashion.
resource "aws_instance" "sample" {
ami = "${var.aws_ubuntu_ami}"
instance_type = "t2.micro"
subnet_id = "${aws_subnet.private.id}"
}
terraform.tfvars for completeness:
aws_access_key = "..."
aws_secret_key = "..."
# A public Trusty AMI
aws_ubuntu_ami = "ami-9aaa1cf2"
2014-11-19 22:04:44 -08:00
Armon Dadgar
e53bf23c0c
provider/aws: Fixing merge conflict
2014-11-19 17:17:18 -08:00
Armon Dadgar
735e83a146
Merge branch 'master' of https://github.com/serenitus/terraform into serenitus-master
2014-11-19 17:15:15 -08:00
Armon Dadgar
41f2e7f98e
Merge pull request #545 from rcostanzo/f-parameter-group
...
Added new parameter_group_name parameter for creating an RDS DB instance
2014-11-19 16:01:11 -08:00
Armon Dadgar
4303232533
Merge pull request #440 from buth/awsblockdevices
...
AWS Instance `block_device` Attribute
2014-11-19 15:52:00 -08:00
Armon Dadgar
8446b036d7
Merge pull request #535 from ceh/vet-fixes
...
argument and verb formatting fixes reported by go vet
2014-11-19 15:46:01 -08:00
Armon Dadgar
fc5a13a1c1
Merge pull request #570 from svanharmelen/f-refactor-digitalocean-provider
...
Refactor to use the schema.Provider approach
2014-11-19 14:15:48 -08:00
Armon Dadgar
12cde243a8
Merge pull request #568 from svanharmelen/f-refactor-cloudflare-provider
...
Refactor to use the schema.Provider approach
2014-11-19 14:07:40 -08:00
Armon Dadgar
6afae237e5
Merge pull request #569 from svanharmelen/f-refactor-dnsimple-provider
...
Refactor to use the schema.Provider approach
2014-11-19 14:04:17 -08:00
Armon Dadgar
5b8efd1ba8
Merge pull request #576 from svanharmelen/f-update-mailgun-provider
...
providers/mailgun: updated the provider schema to use a DefaultFunc
2014-11-19 13:58:53 -08:00
Sander van Harmelen
1b6f37b6eb
Fixed tests and updated the provider schema to use a DefaultFunc
...
The default stack changed from ‘cedar’ to ‘cedar-14’, so updated the
acceptance tests to reflect this.
Updating the schema makes testing easier and gives you a way to
configure the provider using env variables. It also makes the provider
more inline following the TF 0.2 approach.
2014-11-19 14:25:18 +01:00
Sander van Harmelen
2cb1fd8987
Updated the provider to make testing a little easier
...
Also makes the provider more inline with the others following the TF
0.2 approach.
2014-11-18 15:21:32 +01:00
Sander van Harmelen
12f6ccb731
Refactor the DigitalOcean provider
...
With this refactor the DigitalOcean provider is updated to use the
schema.Provider approach released with TF 0.2.
2014-11-18 11:26:59 +01:00
Sander van Harmelen
4e94af3644
Removing obsolete struct tags
2014-11-17 18:58:41 +01:00
Sander van Harmelen
11f024a8e7
Removing obsolete struct tags
2014-11-17 18:57:41 +01:00
Sander van Harmelen
a270bc9771
Refactoring the CloudFlare provider
...
With this refactor the CloudFlare provider is updated to use the
schema.Provider approach released with TF 0.2.
2014-11-17 14:03:57 +01:00
Sander van Harmelen
cdee8c70ec
Refactoring the DNSimple provider
...
With this refactor the DNSimple provider is updated to use the
schema.Provider approach released with TF 0.2.
2014-11-17 14:01:00 +01:00
Panagiotis Moustafellos
56defa346f
providers/aws: Route53 decrease MinTimeout interval
...
It get's a bit annoying when handling dozens of records to have the MinInterval for retries so high.
2014-11-13 17:52:10 +02:00
Madhu
5ed2ee8f37
Merge branch 'master' of https://github.com/hashicorp/terraform
2014-11-10 18:44:23 -08:00
Tomotaka Sakuma
1170111c7e
support associate_public_ip_address for aws_launch_configuration
2014-11-06 21:00:48 +09:00
Rob Costanzo
16b4dd44c1
Upped the RDS instance creation/destroy timeout to 20 minutes as it regularly takes 12+ minutes to create
2014-11-05 11:03:06 -08:00
Rob Costanzo
a14da63a39
Fixed bug with final_snapshot_identifier and skip_final_snapshot and removed apply_method as an option for now and am only supporting immediate mode
2014-11-05 11:03:06 -08:00
Rob Costanzo
0e3afa6d3d
Fixed incorrect ForcesNew settings for parameters and added better acceptance tests to ensure updates are working as expected
2014-11-05 11:03:06 -08:00
Rob Costanzo
3b54001a1b
Added missing update support for new aws_db_parameter_group resource
2014-11-05 11:03:06 -08:00
Rob Costanzo
de16b10555
Added new aws_db_parameter_group resource for creating RDS DB Parameter Groups.
...
Added plumbing to allow an optional DBParameterGroupName to be passed when creating an RDS DB instance.
2014-11-05 11:03:06 -08:00
sneha somwanshi
750a36c51e
AWS instance resource now supports tenancy
2014-11-04 16:38:30 +05:30
Jack Pearkes
ecf66ad7b5
providers/digitalocean: compat for changes to API for droplet size
...
Upstream in the digitalocean API, the size slug became a size
string, breaking pearkes/digitalocean.
https://github.com/pearkes/digitalocean/pull/1
This fixes compatibility for changes to that library.
closes #510
2014-11-02 14:50:59 -08:00
Jack Pearkes
def922551e
providers/digitalocean: fix acceptance test suite for running
2014-11-02 14:44:32 -08:00
Simon Turvey
31132f1ded
Add tag support to AWS subnets
2014-11-02 12:30:33 -08:00
Emil Hessman
4bfe18b40d
argument and verb formatting fixes reported by go vet
...
builtin/providers/aws/tags_test.go:56: unrecognized printf verb 'i'
builtin/providers/aws/tags_test.go:59: unrecognized printf verb 'i'
config/config_test.go:101: possible formatting directive in Fatal call
config/config_test.go:157: possible formatting directive in Fatal call
config/module/get_file_test.go:91: missing argument for Fatalf(%s): format reads arg 1, have only 0 args
helper/schema/schema.go:341: arg v.Type for printf verb %s of wrong type: schema.ValueType
helper/schema/schema.go:656: missing argument for Errorf(%s): format reads arg 2, have only 1 args
helper/schema/schema.go:912: arg schema.Type for printf verb %s of wrong type: schema.ValueType
terraform/context.go:178: arg v.Type() for printf verb %s of wrong type: github.com/hashicorp/terraform/config.VariableType
terraform/context.go:486: arg c.Operation for printf verb %s of wrong type: terraform.walkOperation
terraform/diff_test.go💯 arg actual for printf verb %s of wrong type: terraform.DiffChangeType
terraform/diff_test.go:235: arg actual for printf verb %s of wrong type: terraform.DiffChangeType
2014-11-02 13:56:44 +01:00
Eric Buth
9fa25c40b2
tests for aws instance block_device
2014-10-31 16:25:16 -04:00
Eric Buth
fc58d0a977
Merge branch 'master' of github.com:hashicorp/terraform into awsblockdevices
2014-10-31 15:41:30 -04:00
Panagiotis Moustafellos
5bef93042b
Update to support more regions
...
Relates https://github.com/hashicorp/terraform/issues/524
Added `eu-central-1`, `cn-north-1` and `us-gove-west-1`(hi NSA)
I checked `goamz`, @mitchellh already has added support for those regions
2014-10-30 16:07:12 +02:00
Madhu
5085e75f4a
Remove debug logs
2014-10-23 15:50:17 -07:00
Madhu
7d4064ca03
Termination Policy Support
2014-10-23 14:58:54 -07:00
Mitchell Hashimoto
1792334ec4
fmt
2014-10-21 11:00:12 -07:00
Mitchell Hashimoto
81913c58fb
providers/aws: fixing faililng test
2014-10-21 10:57:55 -07:00
Mitchell Hashimoto
f63a5d24e9
helper/schema: diffs for sets should include the full set [GH-457]
...
Prior to this, the diff only contained changed set elements. The issue
with this is that `getSet`, the internal function that reads a set from
the ResourceData, expects that each level (state, config, diff, etc.)
has the _full set_ information. This change was done to fix merging
issues.
Because of this, we need to make sure the full set is visible in the
diff.
2014-10-21 10:49:53 -07:00
Mitchell Hashimoto
d5b418d82b
Merge pull request #402 from longnguyen11288/add-sg-tags
...
Added security group tagging
2014-10-20 23:18:22 -07:00
Mitchell Hashimoto
98f104dde6
Merge pull request #406 from catsby/heroku-orgs-maps
...
Proposal to change Heroku organization TypeString to a TypeList
2014-10-20 23:15:50 -07:00
Mitchell Hashimoto
4822419414
Merge pull request #454 from stuntgoat/goog-external
...
providers/google: add external_address; needed for connection
2014-10-20 23:10:48 -07:00
Mitchell Hashimoto
590a635b70
providers/aws: ELB should treat subest as a set
2014-10-20 16:32:38 -07:00
Mitchell Hashimoto
8f166458d2
Merge pull request #480 from hashicorp/f-fix-consul
...
Consul param should be "key"
2014-10-20 15:35:31 -07:00
Mitchell Hashimoto
903aa0250c
providers/consul: fix delete diff
2014-10-20 14:09:57 -07:00
Mitchell Hashimoto
7e2a421d87
providers/aws: ELB treats subnets as a set
2014-10-20 13:34:26 -07:00
Armon Dadgar
f4d5d648c9
provider/consul: Disambiguate between set/get
2014-10-20 12:06:27 -07:00
Armon Dadgar
00eaabf5b8
provider/consul: Fixing test DC
2014-10-20 12:06:16 -07:00
Armon Dadgar
3fcc016e48
provider/consul: Change keyword to key from keys
2014-10-20 12:02:48 -07:00
Armon Dadgar
3e43eb5497
provider/consul: Fixing test harness
2014-10-20 12:02:37 -07:00
stungtoat
afa1666cad
set default host on connection info
2014-10-19 00:04:17 -07:00
stungtoat
fe4e89bef7
consistent spacing
2014-10-18 23:17:14 -07:00
stungtoat
6cc10998ec
go fmt
2014-10-18 23:15:43 -07:00
stungtoat
fd979d0a8e
providers/google: add external_address; needed for connection
2014-10-18 23:03:37 -07:00
Mitchell Hashimoto
b25a536299
providers/aws: disassociate EIP before destroying
2014-10-18 15:32:33 -07:00
Mitchell Hashimoto
895d978065
fmt
2014-10-18 10:59:23 -07:00
Mitchell Hashimoto
6eb409c00e
Merge pull request #449 from pmoust/subnet-destroy-retry
...
providers/aws: retry destroying subnet for some time [GH-449]
2014-10-18 10:56:21 -07:00
Panagiotis Moustafellos
c459421892
providers/aws: retry destroying subnet for some time [GH-449]
2014-10-18 18:24:57 +03:00
Panagiotis Moustafellos
f240c27e16
providers/aws: retry destroying internet gateway for some time [GH-447]
2014-10-18 11:47:33 +03:00
Mitchell Hashimoto
1912e9655d
providers/aws: if LC not found, delete it [GH-421]
2014-10-17 20:21:18 -07:00
Mitchell Hashimoto
f5c2aba215
providers/aws: drain autoscale groups before deleting [GH-435]
2014-10-17 20:11:00 -07:00
Mitchell Hashimoto
7c89fb06cc
providers/aws: only retry dependency violation for security groups
...
[GH-436]
2014-10-17 18:29:48 -07:00
Mitchell Hashimoto
10ce2b690c
providers/aws: retry deleting security group for some time [GH-436]
2014-10-17 18:21:18 -07:00
Eric Buth
f10e84aa16
added block_device attribute
2014-10-17 12:12:45 -04:00
John Eckhart
22fa84ebcb
Fix build breaks from latest goamz
2014-10-17 00:53:54 -04:00
Mitchell Hashimoto
05bfe85f9f
providers/aws: instances can be computed on an ELB
2014-10-16 18:24:58 -07:00
Mitchell Hashimoto
152d5b0c69
providers/aws: elb properly hashes listeners
2014-10-16 18:02:03 -07:00
Mitchell Hashimoto
1a2afdaa37
providers/aws: launch config and autoscale group load is correct
...
[GH-423]
2014-10-16 16:39:58 -07:00
Clint Shryock
98667d1b12
update error message
2014-10-14 17:28:25 -05:00
Clint Shryock
b850f8bc65
proposal for making orgs a structure with fields instead of just a name field
2014-10-14 17:28:24 -05:00
Long Nguyen
eef3197ba0
Added security group tagging
2014-10-14 17:11:09 -04:00
Mitchell Hashimoto
6fea336c09
Merge pull request #396 from hashicorp/f-consul-schema
...
Port Consul provider to new helper.Schema, add Token support
2014-10-14 12:21:23 -07:00
Mitchell Hashimoto
e59e4a6bd9
providers/aws: fix compile error
2014-10-14 12:20:39 -07:00
Mitchell Hashimoto
3e6263332d
providers/heroku: set all the things
2014-10-14 12:18:18 -07:00
Mitchell Hashimoto
e4a2cb216c
Merge pull request #389 from catsby/heroku-go-orgs
...
Starting point for adding Organization app support for Heroku Provider
2014-10-14 12:16:48 -07:00
Armon Dadgar
1cc95b7a72
provider/consul: Change to GetOk with schema.Helper
2014-10-14 12:16:42 -07:00
Mitchell Hashimoto
ce997a9a33
providers/aws: fix test
2014-10-14 12:15:46 -07:00
Sean Herron
3e16190e69
Expands AWS tagging to cover EC2 instances
2014-10-13 16:55:59 -04:00
Armon Dadgar
269c5be738
provider/Consul: Support Token. Fixes #378
2014-10-13 11:42:40 -07:00
Armon Dadgar
3e249a4e4e
provider/consul: Port to helper.Schema framework
2014-10-13 11:35:45 -07:00
Clint Shryock
764b0259dd
Document the organization name field
2014-10-12 12:21:32 -05:00
Clint Shryock
8ab3ebbfb2
clean up the conditional check for Heroku organization
2014-10-12 11:58:18 -05:00
Clint Shryock
5fe2593c16
Add to Organization schema ref. Also gofmt the file
2014-10-12 11:49:57 -05:00
Mitchell Hashimoto
d7786473df
fmt
2014-10-11 12:57:06 -07:00
Mitchell Hashimoto
6ddcc2ebf8
Merge pull request #309 from alekstorm/aws-db-instance-password
...
Store aws_db_instance.password in tfstate, change to AttrTypeCreate
2014-10-11 12:34:52 -07:00
Mitchell Hashimoto
d8c1ee655c
Merge pull request #308 from alekstorm/aws-db-instance-db-subnet-group-name
...
Rename aws_db_instance.subnet_group_name to db_subnet_group_name
2014-10-11 12:33:58 -07:00
Mitchell Hashimoto
bd0cf94e89
providers/aws: wait for LC to exist [GH-302]
2014-10-11 12:27:23 -07:00
Mitchell Hashimoto
35065fc8c8
providers/aws: properly report errors if DB instance destroy fails
...
[GH-310]
2014-10-11 11:02:11 -07:00
Mitchell Hashimoto
a362a97979
providers/aws: forcenew on SGs for now [GH-299]
2014-10-10 17:14:35 -07:00
Mitchell Hashimoto
e4ec2eb0cf
providers/aws: security group VPC ID can be computed in a default VPC
2014-10-10 17:12:03 -07:00
Mitchell Hashimoto
e827180887
providers/aws: main_route_table_id attribute for VPC [GH-193]
2014-10-10 16:57:32 -07:00
Mitchell Hashimoto
51d66b678d
providers/aws: resource ELB listeners [GH-314]
2014-10-10 16:35:52 -07:00
Mitchell Hashimoto
5eccbba606
providers/aws: support non-destructive update of desired_capacity for
...
ASG
2014-10-10 16:25:23 -07:00
Mitchell Hashimoto
36f225dea0
fmt
2014-10-10 14:50:35 -07:00
Mitchell Hashimoto
b43cfa3bb0
providers/aws: launch configuration in helper/schema
2014-10-10 14:50:23 -07:00
Mitchell Hashimoto
caaa9d145a
providers/aws: convert autoscaling group to helper/schema
2014-10-10 14:34:40 -07:00
Mitchell Hashimoto
281ba93d39
providers/aws: set the dns_name on create [GH-393]
2014-10-10 13:50:08 -07:00
Clint Shryock
95a815deda
Starting point for adding Organization app support for Heroku Provider
2014-10-10 14:07:27 -05:00
Mitchell Hashimoto
b43ca0aa52
providers/aws: handle case where ELB is deleted manually [GH-304]
2014-10-10 10:35:34 -07:00
Mitchell Hashimoto
c5c72b1ce1
providers/aws: fix failing test
2014-10-10 10:26:48 -07:00
Mitchell Hashimoto
7dcb386e29
providers/aws: fix some computed attributes on ELB
2014-10-10 00:17:35 -07:00
Mitchell Hashimoto
dd2b1fe442
providers/aws: make health checks work
2014-10-10 00:07:08 -07:00
Mitchell Hashimoto
12ff354749
providers/aws: convert most of ELB to schema
2014-10-09 23:58:48 -07:00
Mitchell Hashimoto
539eca5ee6
Fix failing tests
2014-10-09 21:29:21 -07:00
Mitchell Hashimoto
3aa655ad3b
helper/schema: test schema diffs with the interpolation splits
2014-10-09 16:31:24 -07:00
Mitchell Hashimoto
6591e63138
providers/aws: should delete tags that are changing in-place
2014-10-09 10:47:33 -07:00
Mitchell Hashimoto
00bdef3093
providers/aws: test tag removal
2014-10-08 18:21:21 -07:00
Mitchell Hashimoto
6eafac8a34
providers/aws: aws_vpc supports tags
2014-10-08 17:54:00 -07:00
Mitchell Hashimoto
699b2efa1c
providers/aws: convert aws_vpc to helper/schema
2014-10-08 16:43:13 -07:00
Mitchell Hashimoto
9912ca70c6
Merge pull request #371 from xuwang/master
...
providers/aws: Add iam_instance_profile to resource_aws_launch_configuration
2014-10-08 10:53:26 -07:00
Mitchell Hashimoto
9e953c9908
Merge pull request #372 from jgoldschrafe/feature-google-compute-disk-types
...
Configurable disk types for GCE
2014-10-08 10:50:38 -07:00
Mitchell Hashimoto
65a054b7c2
Merge pull request #375 from jgoldschrafe/feature-google-compute-ip-forward
...
providers/google: Support IP forwarding on GCE instances
2014-10-08 10:31:41 -07:00
Mitchell Hashimoto
014bde64c4
providers/aws: not an error if route53 record is already destroy
...
[GH-342]
2014-10-07 21:55:40 -07:00
Mitchell Hashimoto
ca99811357
providers/aws: subnet retry destroy [GH-357]
2014-10-07 21:52:08 -07:00
Jeff Goldschrafe
88a020e0b5
Support IP forwarding on GCE instances
...
This change exposes the CanIpForward property of the Instance, allowing
users to create instances that are allowed to function as NAT or VPN
gateways.
2014-10-07 12:28:20 -04:00
Jeff Goldschrafe
ddfdfebcc5
Configurable disk types for GCE
...
Supports configuring the disk type for Google Compute Engine disk
resources. Both `google_compute_disk` and `google_compute_instance`
disk types are supported.
Resolves #351 .
2014-10-07 01:40:20 -04:00
Xu Wang
df37e82f5b
Add optional param iam_instance_profile to resource_aws_launch_configuration to support role based AC
2014-10-06 20:46:25 -07:00
Mitchell Hashimoto
a154520ce8
provisioners/remote-exec: output
2014-10-05 23:23:30 -07:00
Mitchell Hashimoto
0808236c6e
provisioners/local-exec: output the output
2014-10-05 23:05:49 -07:00
Mitchell Hashimoto
28acb7baa8
Merge pull request #361 from hashicorp/f-provisioner-ui
...
Foundational support for UI output from provisioners
2014-10-05 08:29:18 -07:00
Mitchell Hashimoto
5aa62ae635
providers/null: null provider
2014-10-04 16:42:43 -07:00
Mitchell Hashimoto
e5868ebdd9
provisioners/*: new interface
2014-10-04 16:29:33 -07:00
Panagiotis Moustafellos
d01418270a
Add listener.ssl_certificate_id support to AWS ELB (@jpadvo [GH-176])
2014-10-02 05:19:36 +03:00
Mitchell Hashimoto
3b2272c69f
providers/aws: read properly finds the Self
2014-09-30 14:26:01 -07:00
Mitchell Hashimoto
dbc890e401
providers/aws: add `self` to ingress [GH-219]
2014-09-30 14:19:16 -07:00
Mitchell Hashimoto
6e02465be7
providers/aws: read internal for ELB
2014-09-30 13:37:04 -07:00
Mitchell Hashimoto
09ce13d040
Merge pull request #303 from buth/internalelbs
...
provider/aws: added missing internal ELB option
2014-09-30 13:29:35 -07:00
Mitchell Hashimoto
452cc07ce8
Merge pull request #307 from alekstorm/aws-db-instance-gone
...
providers/aws: don't error out when RDS DB instance disappears
2014-09-30 13:28:24 -07:00
Mitchell Hashimoto
a7c321a028
helper/scheam: support UI defaults
2014-09-29 14:00:35 -07:00
Mitchell Hashimoto
99044a1f14
Add descriptions for AWS inputs
2014-09-29 13:30:28 -07:00
Mitchell Hashimoto
459ffe9d2a
providers/*: fix compilation for input
2014-09-29 10:28:08 -07:00
Mitchell Hashimoto
2f681c4bcc
providers: fix tests
2014-09-28 17:32:39 -07:00
Mitchell Hashimoto
3941dbac5d
fmt
2014-09-28 11:51:49 -07:00
Mitchell Hashimoto
e2534e4210
builtin: fix all compilation
2014-09-28 11:51:39 -07:00
Mitchell Hashimoto
5da86c1279
Merge pull request #319 from lflux/aws-instance-iam-support
...
Add IAM Instance profile support to AWS instance provider
2014-09-27 12:43:18 -07:00
Jeff Goldschrafe
0598f2fdb0
google_compute_firewall: Support target tags
2014-09-26 01:15:31 -04:00
Ian Delahorne
9f91c4e8c3
Add IAM Instance profile support to AWS instance provider
2014-09-23 13:06:30 -05:00
Mitchell Hashimoto
bea81d7710
providers/aws: fix some broken tests
2014-09-22 08:57:17 -07:00
Mitchell Hashimoto
166847d5dc
Merge branch 'f-state'
...
Conflicts:
builtin/providers/aws/resource_aws_subnet.go
2014-09-22 08:55:44 -07:00
Alek Storm
c7f219a781
Store aws_db_instance.password in tfstate, change to AttrTypeCreate
2014-09-18 13:55:43 -07:00
Alek Storm
ba0591c85d
Force recreation when aws_instance.private_ip changes
2014-09-18 13:26:49 -07:00
Alek Storm
f928829a1c
Don't error out when RDS DB instance disappears
2014-09-18 13:25:30 -07:00
Alek Storm
5b806f0737
Rename aws_db_instance.subnet_group_name to db_subnet_group_name
2014-09-18 13:19:24 -07:00
Mitchell Hashimoto
9b2b3a963f
ResourceDiff => InstanceDiff
2014-09-17 16:33:24 -07:00
Eric Buth
90b75b86c4
added missing internal ELB option
2014-09-17 17:56:27 -04:00
Mitchell Hashimoto
c5d6df692d
providers/aws: tests passing, compiles
2014-09-16 17:49:24 -07:00
Mitchell Hashimoto
78471d2aa0
providers/cloudflare: tests passing, compiles
2014-09-16 17:31:07 -07:00
Mitchell Hashimoto
e4066595c9
providers/consul: tests passing, compiling
2014-09-16 17:29:38 -07:00
Mitchell Hashimoto
aafbc2ab7c
providers/digitalocean: tests passing, compiling
2014-09-16 17:28:22 -07:00
Mitchell Hashimoto
c2a2aca999
providers/dnsimple: tests passing, compiling
2014-09-16 17:24:05 -07:00
Mitchell Hashimoto
a590ed02df
providers/mailgun: tests passing, compiling
2014-09-16 17:21:49 -07:00
Mitchell Hashimoto
64bc356f97
providers/heroku: tests passing, compiling
2014-09-16 17:21:01 -07:00
Mitchell Hashimoto
ecc10616ba
providers/google: tests passing, compiling
2014-09-16 17:17:09 -07:00
Mitchell Hashimoto
c452579512
provisioners/*: compiling, tests passing
2014-09-16 17:08:27 -07:00
Jack Pearkes
002e640d0b
Merge pull request #259 from hden/vpc_zone_identifier
...
allow vpc_zone_identifier in aws_autoscaling_group
2014-09-16 10:44:32 -04:00
Jack Pearkes
9fc775e41c
providers/aws: fix tests for subnet map_public_ip, add docs
...
This working depends on merging mitchellh/goamz#109
Related: #285
cc/ @hden
2014-09-16 10:37:22 -04:00
Jack Pearkes
ee24fce321
Merge pull request #285 from hden/263
...
add MapPublicIpOnLaunch
2014-09-16 09:56:40 -04:00
Jack Pearkes
dd434fb71b
providers/aws: add description to test
...
cc/ @buth
Looks like the schema was correctly defining description as required,
added it to the tests and it's passing now.
2014-09-16 09:44:32 -04:00
Eric Buth
4cd11e4091
AWS DB Subnet Group resource and testing
2014-09-15 14:58:04 -04:00
Hao-kang Den
d9665bad4e
add MapPublicIpOnLaunch
2014-09-10 13:13:16 +08:00
Mitchell Hashimoto
2317f7ea9b
providers/aws: proper DefaultFunc to return nil if no env
2014-09-09 21:46:50 -07:00
Mitchell Hashimoto
6a275d7bd0
providers/aws: convert validation to helper/schema
2014-09-09 21:44:31 -07:00
Mitchell Hashimoto
62e2743dcc
providers/aws: retry delete of eip [GH-276]
2014-09-09 14:18:53 -07:00
Mitchell Hashimoto
57f287c06d
providers/aws: check for non-exist on refresh
2014-09-09 14:15:33 -07:00
Mitchell Hashimoto
a5b85dd788
providers/aws: check if instance is set on eip
2014-09-09 14:15:08 -07:00
Mitchell Hashimoto
a5c884f5aa
fmt
2014-09-09 13:43:03 -07:00
Mitchell Hashimoto
78672ead21
providers/digitalocean: convert domain to helper/schema [GH-187]
2014-09-09 13:42:06 -07:00
Mitchell Hashimoto
228fd035ba
providers/digitalocean: handle when resource deleted manually [GH-279]
2014-09-09 13:36:47 -07:00
Mitchell Hashimoto
0a1397b374
providers/digitalocean: convert record to schema
2014-09-09 13:29:36 -07:00
Mitchell Hashimoto
6a1a8b9487
providers/digitalocean: schema framework, validation
2014-09-09 13:13:11 -07:00
Mitchell Hashimoto
ab5e07a1f9
providers/aws: use GetOk to check for value [GH-258]
2014-09-08 20:24:43 -07:00
Mitchell Hashimoto
b9e693134d
Merge pull request #254 from dainis/fix_gce_persistent_disk_attaching
...
providers/google: Fix gce persistent disk attaching
2014-09-07 16:08:49 -07:00
Mitchell Hashimoto
634dd7e4a3
Merge pull request #260 from jkinred/master
...
providers/amazon: Allow building of EC2 instances with ebs_optimized flag
2014-09-07 16:01:59 -07:00
Jack Pearkes
58a482d677
providers/digitalocean: fix tests for region
...
the user_data argument doesn't exist on all regions
2014-09-05 11:18:49 -04:00
Jack Pearkes
28692656e2
providers/digitalocean: add user_data for create droplet
...
fixes #267
2014-09-05 11:16:12 -04:00
Jack Pearkes
bf52f3886b
providers/digitalocean: if delete droplet returns 404, mark as gone
2014-09-05 11:10:22 -04:00
shin1x1
781e512dde
fix associate_public_ip_address parameter name
2014-09-03 20:54:36 +09:00
Jonathan Kinred
2b764de383
Allow building of EC2 instances with ebs_optimized flag
2014-09-03 20:18:40 +10:00
Hao-kang Den
125977e075
allow vpc_zone_identifier in aws_autoscaling_group
2014-09-03 09:38:07 +08:00
Dainis Tillers
0ba2194503
Added - flag to set whether disk needs to be delete or not when instance terminates
2014-09-02 16:52:49 +03:00
Dainis Tillers
47ee01b7ce
Fixed - allow to attach already existing disks
2014-09-02 16:52:21 +03:00
Dainis Tillers
ebdceac770
Require project id as otherwise it will fail with cryptic error
2014-09-02 16:49:16 +03:00
Mitchell Hashimoto
3a3e3346d5
providers/aws: route53 record destroy in parallel works
2014-08-31 09:12:05 -07:00
Mitchell Hashimoto
08dbf4daf0
fmt
2014-08-30 17:02:11 -07:00
Jack Pearkes
7cfad67920
providers/mailgun: remove dedebugging
2014-08-29 13:36:26 -07:00
Jack Pearkes
96c481578f
providers/mailgun: save domain records
2014-08-29 11:39:06 -07:00
Jack Pearkes
02c93f0aea
providers/mailgun: return domain response instead of domain
...
see also 5b02e7e9ff
2014-08-29 11:15:14 -07:00
Mitchell Hashimoto
bb2edb20fd
providers/heroku: clean up heroku_app config vars
2014-08-27 21:07:56 -07:00
Mitchell Hashimoto
39c4fb2005
providers/heroku: plans work without specific plan name [GH-198]
2014-08-27 21:05:09 -07:00
Mitchell Hashimoto
d8cc32b49f
providers/heroku: all_config_vars for reading
2014-08-27 16:35:15 -07:00
Mitchell Hashimoto
0a03ff9d34
providers/heroku: config vars aren't computed, they're non-exclusive
...
/cc @pearkes - See doc change
2014-08-27 16:26:03 -07:00
Jack Pearkes
02d18d67b8
providers/heroku: name and region are now required
...
cc/ @catsby if you're curious. That fixed the acceptance tests,
thought there is still one (different issue) that is still failing.
Also, it nows construct a transport instead of using the default
and setting the auth globally. TF could potentially run things
concurrently and that might go wrong.
2014-08-27 16:06:43 -07:00
Mitchell Hashimoto
c9a541d95b
helper/schema: generate a full diff in destroy/create cycle
2014-08-27 15:45:52 -07:00
Clint Shryock
f6d5ed6c31
Swap bgentry/heroku-go for cyberdelia/heroku-go
2014-08-27 09:50:37 -05:00
Mitchell Hashimoto
2fc1a47212
bins/consul: add test file
2014-08-26 21:57:33 -07:00
Mitchell Hashimoto
8f1cbc5ab7
bins/{google,mailgun}
2014-08-26 21:56:47 -07:00
Mitchell Hashimoto
3e4b7b862a
providers/google: compute_firewall partial state
2014-08-26 20:33:53 -07:00
Mitchell Hashimoto
bfbb9201c4
providers/google: partial updates with compute_instance
2014-08-26 20:31:35 -07:00
Mitchell Hashimoto
cefc07d665
Merge pull request #227 from desimone/patch-2
...
provisioners/remote-exec: More descriptive variable names for pipes.
2014-08-26 15:35:45 -07:00
Mitchell Hashimoto
b7e16c6b53
providers/aws: source_dest_check applies [GH-229]
2014-08-26 15:05:36 -07:00
Mitchell Hashimoto
3934c1b106
Merge pull request #235 from hashicorp/f-gce
...
Google Compute Engine Provider
2014-08-26 14:53:27 -07:00
Mitchell Hashimoto
ea585a5950
providers/google: compute_instance supports updating tags
2014-08-26 13:52:18 -07:00
Mitchell Hashimoto
a451be0140
providers/google: compute_instance supports updating metadata
2014-08-26 13:48:49 -07:00
Mitchell Hashimoto
69a9619924
providers/google: compute_firewall update
2014-08-26 12:50:08 -07:00
Mitchell Hashimoto
f2d7900e63
providers/google: on refresh, treat 404 as resource gone
2014-08-25 22:49:14 -07:00
Mitchell Hashimoto
673b62db96
providers/google: check operations for errors
2014-08-25 22:44:27 -07:00
Mitchell Hashimoto
bf6df9420f
providers/google: compute_route
2014-08-25 22:39:29 -07:00
Mitchell Hashimoto
0c2a0aeeba
providers/google: proper resource type in error message
2014-08-25 22:13:37 -07:00
Mitchell Hashimoto
8639c104a2
providers/google: compute_firewall
2014-08-25 22:09:38 -07:00
Mitchell Hashimoto
7ad39614fa
providers/google: compute_network
2014-08-25 21:41:15 -07:00
Mitchell Hashimoto
99918bde2e
providers/google: support disks coming from other disks
2014-08-25 21:35:23 -07:00
Mitchell Hashimoto
81c9b695a1
fmt
2014-08-25 16:23:38 -07:00
Mitchell Hashimoto
efe9b53a05
providers/google: compute_disk
2014-08-25 16:23:28 -07:00
Mitchell Hashimoto
f5d4b605c2
providers/google: can assign IP to instance
2014-08-25 15:47:21 -07:00
Mitchell Hashimoto
7f3bb1a45a
providers/google: compute_instance supports metadata
2014-08-25 15:25:45 -07:00
Mitchell Hashimoto
da03be8941
providers/google: support tags on compute_instance
2014-08-25 15:10:30 -07:00
Mitchell Hashimoto
5bf258809f
providers/google: compute_instance
2014-08-25 14:57:17 -07:00
bdd
4a53f38d3a
Update resource_provisioner.go
...
Better variable name.
2014-08-25 17:39:46 -04:00
Mitchell Hashimoto
043a7d516e
providers/google: compute_address tests
2014-08-25 13:56:40 -07:00
Mitchell Hashimoto
a80222bbe4
providers/google: google_compute_address
2014-08-25 12:55:08 -07:00
Mitchell Hashimoto
f346964fca
providers/google: first pass
2014-08-25 11:48:20 -07:00
Jack Pearkes
b79834e859
providers/mailgun: smtp_password is required, no need for pub api key
2014-08-25 10:09:50 -07:00
Jack Pearkes
b71ff28871
providers/mailgun: smtp_password is required
2014-08-25 10:09:50 -07:00
Jack Pearkes
e3d54cb487
providers/mailgun: initial commit
2014-08-25 10:09:50 -07:00
bdd
b2ff49be2e
More descriptive variable names for pipes.
2014-08-25 12:39:07 -04:00
bdd
6da9a2d49d
Use scanner instead of buffer read line
...
Supported in Go 1.1 http://golang.org/pkg/bufio/#Scanner
2014-08-25 11:58:14 -04:00
Mitchell Hashimoto
56cf1e6faa
Fix go vet complaints
2014-08-24 21:50:35 -07:00
Ryan Uber
e530eea226
provider/aws: fix panic when user_data receives nil from StateFunc
2014-08-23 00:20:41 -07:00
Mitchell Hashimoto
623c635fb1
providers/aws: can create records with multiple values [GH-221]
2014-08-22 17:19:39 -07:00
Mitchell Hashimoto
c886148e15
providers/aws: use example.com for tests
2014-08-22 12:51:19 -07:00
Mitchell Hashimoto
ed99d2497b
providers/aws: retry route53 operations [GH-183]
2014-08-22 12:51:11 -07:00
Mitchell Hashimoto
8f70920c17
providers/aws: fix some other issues with aws_instance
2014-08-22 12:20:06 -07:00
Mitchell Hashimoto
ba68be5672
providers/aws: use StateFunc to process the user_data
2014-08-22 08:46:48 -07:00
Mitchell Hashimoto
f26a2700a1
fmt
2014-08-22 08:46:03 -07:00
Mitchell Hashimoto
7be2f1b091
helper/schema: add GetOk
2014-08-21 23:03:04 -07:00
Mitchell Hashimoto
2fd2470c92
providers/aws: resource_aws_instance partially to schema.Resource
2014-08-21 18:38:43 -07:00
Alek Storm
b6c5e5bbf6
Allow aws_instance private IP's to be specified
2014-08-21 17:13:36 -07:00
Mitchell Hashimoto
cdc2a53553
providers/aws: changing order of security group cidrs doesn't affect
...
things
2014-08-21 14:10:09 -07:00
Mitchell Hashimoto
5b620b76f5
providers/aws: update comment
2014-08-21 12:00:32 -07:00
Mitchell Hashimoto
200f7c4488
providers/aws: can add remove individual cidr/groups in security group
2014-08-21 11:59:03 -07:00
Mitchell Hashimoto
4015d942ab
providers/aws: security group ingress rules treated as set [GH-87]
...
/cc @pearkes - !!!
2014-08-20 22:24:13 -07:00
Jack Pearkes
6eb6d19384
providers/aws: vpc dns settings tests
...
cc/ @deoxxa see diff for how to add tests – quite straight forward.
Normally, I would like to add a check to ensure that the attribute
was updated remotely (by seeing what it's value with AWS is) but
I don't think we have that value returned.
2014-08-20 11:29:52 -07:00
Mitchell Hashimoto
53cdbcc9fa
providers/aws: security group ingress rules can be updated
2014-08-20 11:18:16 -07:00
Mitchell Hashimoto
a594ef9a28
providers/aws: expandIPPerms works again
2014-08-20 11:18:16 -07:00
Jack Pearkes
33a7d32f40
Merge pull request #172 from deoxxa/add-vpc-dns-attributes
...
add vpc dns attribute support
2014-08-20 11:14:07 -07:00
Jack Pearkes
97cae408b2
providers/aws: tests and document adding load balancers to autoscaling
...
cc/ @thatha
2014-08-20 10:42:14 -07:00
Mitchell Hashimoto
89041c0595
providers/aws: resource_aws_security_group using helper/schema
2014-08-20 10:40:18 -07:00
Ian Atha
13b0e7ee2c
Allow 'load_balancers.*' to pass resource_aws_autoscaling_group_validation
2014-08-19 19:53:12 -07:00
Mitchell Hashimoto
d25747ba5c
providers/aws: cleaner detection of VPC [GH-122]
2014-08-19 17:22:25 -07:00
Mitchell Hashimoto
c4d261ac61
providers/aws: resource_aws_eip is in new framework
2014-08-19 16:56:23 -07:00
Mitchell Hashimoto
776bb22e4e
providers/aws: create an empty schema.Provider
2014-08-19 15:40:48 -07:00
Mitchell Hashimoto
25607686c1
provider/heroku: fix bin
2014-08-19 10:19:19 -07:00
Mitchell Hashimoto
9a0c0ea985
providers/heroku: domain/drain have dep on app
2014-08-19 10:16:47 -07:00
Mitchell Hashimoto
2a6b83591a
providers/heroku: nuking config vars works
2014-08-19 10:13:34 -07:00
Jack Pearkes
d99e475ea2
Merge pull request #170 from alekstorm/aws-security-group-owner
...
Implement specification of AWS security groups in ingress rules as <owner>/<id>
2014-08-19 09:42:05 -07:00
Mitchell Hashimoto
839f9d84c8
Merge pull request #201 from hashicorp/f-resource
...
High-Level Framework for Writing Providers and Resources
2014-08-19 09:40:59 -07:00
Jack Pearkes
4cdb95a6b2
Merge pull request #166 from alekstorm/aws-elb-subnets-security-groups
...
Add 'security_groups' and 'subnets' args to 'aws_elb'
2014-08-19 09:40:30 -07:00
Mitchell Hashimoto
e6dff7bf04
provider/heroku: update bin to use the new provider
2014-08-19 09:38:58 -07:00
Mitchell Hashimoto
e2b8951a58
remove heroku2 since we're done here
2014-08-19 09:19:51 -07:00
Mitchell Hashimoto
43405c270b
providers/heroku: heroku_drain
2014-08-19 09:18:45 -07:00
Mitchell Hashimoto
27ee254447
providers/heroku: heroku_domain resource
2014-08-19 09:14:14 -07:00
Mitchell Hashimoto
5fc308d934
providers/heroku: addon
2014-08-18 15:49:54 -07:00
Mitchell Hashimoto
4e1d8869fe
providers/heroku: use new schema API
2014-08-18 15:18:51 -07:00
Mitchell Hashimoto
199b72d798
providers/heroku: clean up unused functions
2014-08-18 09:36:37 -07:00
Mitchell Hashimoto
513596cc37
providers/heroku: Heroku app is mostly converted
2014-08-18 09:32:40 -07:00
Mitchell Hashimoto
b3f4a9eb10
providers/heroku2: going to convert this to new schema package
2014-08-17 20:58:41 -07:00
Mitchell Hashimoto
ca5be43519
providers/aws: fix RDB test syntax error
2014-08-11 09:58:53 -07:00
Jason Padvorac
8d97c3656c
Add listener.ssl_certificate_id support to AWS ELB
2014-08-10 17:16:53 -07:00
deoxxa
4405a8d974
add vpc dns attribute support
2014-08-09 22:43:00 +10:00
Alek Storm
7109b8c770
Implement specification of AWS security groups in ingress rules as <owner>/<id>
2014-08-08 11:51:18 -07:00
Alek Storm
5a84296c61
Add 'security_groups' and 'subnets' args to 'aws_elb'
2014-08-07 17:41:15 -07:00
Alex Gaynor
46154ca1d3
Fixed a ton of typos in docs and comments
2014-08-07 00:19:56 -07:00
Hector Castro
f869a077a2
Fix output of aws_db_instance port via endpoint
...
When trying to output the `endpoint` attribute of an `aws_db_instance`,
the port was not being emitted properly. Converting the port number from
an integer to a string has resolved the issue.
2014-08-01 17:13:26 -04:00
Jack Pearkes
61122beec4
providers/digitalocean: fix comment
2014-08-01 11:05:32 -04:00
Jack Pearkes
d9bfe1c2fe
providers/digitalocean: only save private ip address if private
2014-08-01 10:12:29 -04:00
Jack Pearkes
2fe6f2e2b1
providers/digitalocean: restart droplet in failed resize
2014-08-01 10:10:52 -04:00
Jack Pearkes
c6741cf1b5
providers/aws: add tests for instance availability zone
...
cc/ @dcosson here we go!
2014-07-31 20:35:31 -04:00
Jack Pearkes
aa94e0c41a
Merge pull request #129 from dcosson/aws_availability_zone
...
Allow specifying the AWS availability zone on creation
2014-07-31 15:28:34 -04:00
Jack Pearkes
e07dc8891d
providers/aws: db instance wait for destroy, allow destroy config
2014-07-31 15:22:14 -04:00
Danny Cosson
e838624468
Allow specifying the AWS availability zone on creation
2014-07-31 13:52:03 -04:00
Jack Pearkes
887ee10f77
providers/cloudflare: add bins
...
close #126
2014-07-31 09:52:48 -04:00
Jack Pearkes
0ca0b8dd62
providers/aws: remove password from resource diff to not trigger changes
...
cc/ @mitchellh
This one caught me a bit, and I'm not sure if there's another AttrType
that could be useful here – perhaps a AttrTypeHidden or something? I
don't know...this feels sloppy to have in the diff func.
2014-07-31 09:39:19 -04:00
Jack Pearkes
9a2685cf13
providers/aws: db instances now depend on db security groups
2014-07-31 09:28:25 -04:00
Jack Pearkes
bc79f15db3
providers/aws: require description in security groups. fixes #123
2014-07-30 17:15:51 -04:00
Jack Pearkes
60ed50b4b6
providers/aws: allow "modifying" as pending state for db instances
...
fixes #119
2014-07-30 11:58:11 -04:00
John Wards
7493ee31cb
Stop passing engine into EngineVersion
...
Fixes #95
2014-07-30 16:44:02 +01:00
Jack Pearkes
7adc6162d8
providers/aws: add test for health check, save health check state
...
cc/ @vertis
I added an acceptance test here, as well as making it so we
saved the health check state on update_state.
2014-07-30 10:15:22 -04:00
Luke Chadwick
0eed0908df
Add health_check to aws_elb resource
2014-07-30 21:46:51 +10:00
Jack Pearkes
14b80abc29
providers/heroku: fix drain test
...
cc/ @bmarini
Basically, the attr check we have in our tests is looking at resources
that we specify. It's basically check that "if I send this, I get this"
from the external resource.
In this case, we don't know what the token will be, so we can't
do it that way. I replaced it with a "make sure this is more than an
empty string" assertion.
2014-07-29 19:16:01 -04:00
Jack Pearkes
d3e8454ceb
Merge pull request #97 from bmarini/add-heroku-drain-resource
...
Add heroku drain resource
2014-07-29 19:15:17 -04:00
Jack Pearkes
af62002c1b
go fmt
2014-07-29 19:09:55 -04:00
Jack Pearkes
77697b9936
providers/aws: add failing test for aws region validation
...
cc/ @jorgeng87
2014-07-29 19:09:17 -04:00
Jack Pearkes
872acb3740
providers/digitalocean: fix ip address when using private networking
...
This adds a new `ipv4_address_private` and `ipv4_address_public`
computed attr. Also pulls in upstream changes from pearkes/digitalocean
2014-07-29 19:04:10 -04:00
Ben Marini
6dd629a334
Add heroku drain resource
2014-07-29 15:45:12 -07:00
Jorge Núñez
aad0fec940
Update test with valid AWS region
2014-07-30 00:22:50 +02:00
Jorge Núñez
5900b3f1c0
Add AWS region validation
2014-07-30 00:22:37 +02:00
Luke Chadwick
15bdf8b5f9
Add user_data to aws_launch_configuration
2014-07-30 07:30:24 +10:00
Jack Pearkes
cbcb559c0c
providers/aws: add failing test for reorder ingress rules bug
2014-07-29 15:03:51 -04:00
Jack Pearkes
6653542466
providers/aws: fix order of ingress rules on security group
2014-07-29 12:45:57 -04:00
Jack Pearkes
dbe6b74884
providers/aws: depend on security groups, failing test for #87
2014-07-29 12:15:42 -04:00
Jack Pearkes
d47e3f76ea
providers/aws: fix spelling of desired_capacity
...
see #78
2014-07-29 10:43:18 -04:00
Jack Pearkes
4f2026f6c6
providers/aws: only flatten cidr if they exist
...
fixes #87
2014-07-29 10:29:48 -04:00
Jack Pearkes
86c7aeb8a6
providers/aws: use merged reosource state for associate_public_ip
...
cc/ @vertis
2014-07-29 10:23:48 -04:00
Jack Pearkes
fa13a12a6e
Merge pull request #85 from vertis/aws_associate_public_ip_address
...
Add associate_public_ip_address as an attribute on the aws_instance resource
2014-07-29 10:15:32 -04:00
Jack Pearkes
da4ddef136
providers/aws: fix assertion of non-required cidr blocks in sec groups
...
fixes #65 , #86
2014-07-29 10:05:32 -04:00
Luke Chadwick
974074fee9
Add associate_public_ip_address as an attribute of the aws_instance resource
2014-07-29 22:06:53 +10:00
Armon Dadgar
be1ae66d86
provider/aws: fixing tests
2014-07-28 13:27:55 -04:00
Armon Dadgar
8c69536b3b
provider/aws: fixing security groups test
2014-07-28 13:14:24 -04:00
Jack Pearkes
f6fa012e82
providers/aws: remove security_group_update
2014-07-28 13:13:29 -04:00
Armon Dadgar
0b4950976c
Revert "providers/digitalocean: don't save status and locked"
...
This reverts commit b9414b832c
.
2014-07-28 13:04:17 -04:00
Armon Dadgar
bf3ac46c36
provider/digitalocean: less aggressive retry
2014-07-28 12:58:19 -04:00
Armon Dadgar
c2677b3c0a
provider/aws: More strict check
2014-07-28 12:50:19 -04:00
Armon Dadgar
c8d5ea4d9d
provider/aws: fixing instance for EC2-VPC /cc:@pearkes
2014-07-28 12:47:40 -04:00
Armon Dadgar
bc64366a92
provider/aws: Less aggressive API rate
2014-07-28 12:10:35 -04:00
Armon Dadgar
ebd50ab6ff
provider/aws: Fixing EIP in EC2-VPC
2014-07-28 12:05:00 -04:00
Armon Dadgar
c3b0417678
provider/aws: Fixing tests
2014-07-28 11:27:58 -04:00
Armon Dadgar
e596feb42b
provider/aws: Fixing launch config depdency
2014-07-28 11:27:58 -04:00
Jack Pearkes
7ef47671b0
providers/aws: only security group and instances if we have them
2014-07-27 21:20:03 -04:00
Armon Dadgar
da539caf0a
provider/consul: Acceptance test uses demo.consul.io
2014-07-26 21:25:28 -04:00
Armon Dadgar
2263616c2e
provider/consul: Fixing resource updates
2014-07-26 21:24:20 -04:00
Armon Dadgar
18333f149e
provider/aws: route53 zone detects deletion
2014-07-26 21:24:20 -04:00
Armon Dadgar
dc0de63a72
provider/consul: cleanup
2014-07-26 20:21:48 -04:00
Mitchell Hashimoto
b1fc87fe59
providers/aws/aws_eip: support update (reassociation)
...
/cc @pearkes - woot
2014-07-26 15:53:26 -07:00
Armon Dadgar
719217d64d
provider/consul: Simplify
2014-07-26 15:32:34 -04:00
Armon Dadgar
e4450fcd51
provider/consul: Vast simplification
2014-07-26 15:14:41 -04:00
Armon Dadgar
9ff8856fe8
provider/consul: first pass at update
2014-07-25 22:35:50 -04:00
Armon Dadgar
dd58896d07
provider/consul: first pass
2014-07-25 22:14:51 -04:00
Armon Dadgar
61841467c4
provider/consul: Skeleton
2014-07-25 17:03:17 -04:00
Jack Pearkes
9998339a04
website: add cloudflare docs
2014-07-25 12:28:11 -04:00
Jack Pearkes
85944ab205
providers/cloudflare: init
2014-07-25 12:21:23 -04:00
Jack Pearkes
307f7e4e5b
providers/dnsimple: fix comment
2014-07-25 12:05:51 -04:00
Jack Pearkes
404a6ccad2
providers/heroku: serialize the addons, depend on apps
2014-07-25 00:08:38 -04:00
Jack Pearkes
b9414b832c
providers/digitalocean: don't save status and locked
2014-07-24 23:32:42 -04:00
Jack Pearkes
454db657be
providers/dnsimple|heroku: handle ComputedAttrsUpdate
2014-07-24 23:29:58 -04:00
Jack Pearkes
228c8db134
providers/dnsimple: add hostname as computed resource
2014-07-24 19:32:59 -04:00
Jack Pearkes
298483131b
providers/aws: fixed tons of aws stuff
2014-07-24 18:50:33 -04:00
Jack Pearkes
9d75352fd3
providers/digitalocean: fix 404 check
2014-07-24 17:57:23 -04:00
Mitchell Hashimoto
d70b451b58
providers/digitalocean: fmt
2014-07-24 14:40:54 -07:00
Jack Pearkes
bcf92e8d39
providers/digitalocean: handle destroyed droplets
2014-07-24 17:31:39 -04:00
Armon Dadgar
a6e536c718
provider/digitalocean: Support ConnInfo for provisioning
2014-07-24 13:51:43 -04:00
Jack Pearkes
67bc9f51ae
providers/digitalocean: records
2014-07-24 13:47:22 -04:00
Jack Pearkes
d2a01f2209
proviers/digitalocean: add domains
2014-07-24 13:24:18 -04:00
Jack Pearkes
ae7db9359e
providers/dnsimple: finish update func, new lib
2014-07-24 11:23:10 -04:00
Jack Pearkes
2f4ea10349
dnsimple: fix for new library
2014-07-24 10:21:50 -04:00
Armon Dadgar
ca43c44a85
providers/aws: Re-order entries
2014-07-23 23:35:03 -04:00
Jack Pearkes
07d9bb03ec
providers/dnsimple: handle custom domains
2014-07-23 20:53:28 -04:00
Jack Pearkes
d8c83a1a95
providers/dnsimple: init commit
2014-07-23 17:43:49 -04:00
Jack Pearkes
c76ec75433
providers/heroku: compute cname
2014-07-23 15:55:28 -04:00
Jack Pearkes
accc477984
providers/heroku: add cname to domain
2014-07-23 15:55:01 -04:00
Jack Pearkes
26d5c093da
providers/heroku: add domain support
2014-07-23 15:50:28 -04:00
Jack Pearkes
eb0bd46791
providers/heroku: tabs
2014-07-23 15:37:10 -04:00
Jack Pearkes
89985a3dc6
providers/heroku: addons
2014-07-23 15:33:39 -04:00
Armon Dadgar
5065aff158
provider/aws: Improve validation of configs
2014-07-23 15:14:35 -04:00
Jack Pearkes
4b1d9b5b2f
providers/heroku: don't overwrite id
2014-07-23 15:10:13 -04:00
Jack Pearkes
708d91a0c5
providers/heroku: add failing test for var removal
2014-07-23 14:46:12 -04:00
Jack Pearkes
2fc73493a8
providers/heroku: store name after update
2014-07-23 14:12:53 -04:00
Jack Pearkes
a30c4abbea
providers/heroku: correctly store config vars in state
2014-07-23 13:57:15 -04:00
Jack Pearkes
5a178a39a0
providers/heroku: init addon, app update
2014-07-23 12:38:45 -04:00
Jack Pearkes
3a2db580d0
providers/heroku: handle case sensitivity
2014-07-23 12:11:58 -04:00
Jack Pearkes
64f2630c7e
providers/heroku: refactor to handle vars
2014-07-23 12:09:54 -04:00
Jack Pearkes
e523e400b8
providers/heroku: refactor update config vars
2014-07-23 11:26:31 -04:00
Jack Pearkes
298b8090f0
providers/heroku: support config vars on create
2014-07-23 11:09:05 -04:00
Jack Pearkes
703d115638
providers/aws: remove logging
2014-07-23 09:16:23 -04:00
Jack Pearkes
e81b3998ce
heroku: initial commit
2014-07-23 00:03:30 -04:00
Jack Pearkes
27fe1e0226
rds: fix engine version
2014-07-22 23:13:58 -04:00
Armon Dadgar
b6503a7810
provider/aws: Adding route53 records support
2014-07-22 23:08:41 -04:00
Jack Pearkes
b924151914
rds: add attribute checks
2014-07-22 22:54:18 -04:00
Jack Pearkes
4da83b9eca
providers/aws: db sec group
2014-07-22 22:23:09 -04:00
Jack Pearkes
dde83f7cdd
providers/aws: slow down the wait for state for dbinstance
2014-07-22 18:45:59 -04:00
Armon Dadgar
12d54bd949
provider/aws: Slow down our r53 waits
2014-07-22 18:44:59 -04:00
Armon Dadgar
8e7e65770d
provider/aws: Support for Route53 zones
2014-07-22 17:55:19 -04:00
Jack Pearkes
2f26ac97c2
providers/aws: add rds
2014-07-22 16:26:58 -04:00
Mitchell Hashimoto
8720d2465e
builtin/provisioners/*: new API
2014-07-22 10:38:39 -07:00
Armon Dadgar
64f7a1dc89
provider/aws: Adding support for aws_s3_bucket
2014-07-21 14:34:50 -04:00
Jack Pearkes
ed8980714c
providers/digitalocean: handle locked droplets and retry
2014-07-21 11:05:24 -04:00
Jack Pearkes
7be85deb92
providers/digitalocean: updates
2014-07-19 12:33:25 -04:00
Jack Pearkes
0965332b88
providers/digitalocean: WaitForAttribute
2014-07-19 09:45:42 -04:00
Jack Pearkes
5dcd453db8
providers/digitalocean: alphabetize all the things
2014-07-18 20:41:02 -04:00
Jack Pearkes
4455a6120c
providers/digitalocean: initial commit
2014-07-18 20:20:28 -04:00
Mitchell Hashimoto
916ca711ad
providers/aws/aws_security_group: we need to check for one other error
2014-07-17 11:28:40 -07:00
Mitchell Hashimoto
99ac8fc68e
providers/aws/aws_security_group: wait for it to exist
2014-07-17 11:14:51 -07:00
Mitchell Hashimoto
388bcfa7b4
providers/aws: VPC assignment fix, and dependencies for destroy
2014-07-17 10:03:15 -07:00
Mitchell Hashimoto
24ecb1ae70
providers/aws/aws_vpc: fix error message referencing ELB
2014-07-17 09:46:31 -07:00
Mitchell Hashimoto
d956880e2f
providers/aws/aws_route_table: can set routes on instance_id
2014-07-17 09:21:55 -07:00
Mitchell Hashimoto
79dbd07679
providers/aws: no empty security groups when flattening ip perms
...
/cc @pearkes - A few things here:
First, this fixes the issue you mentioned to be in chat. Basically: if
there are no security groups, don't put it into flatten, because flatten
will include a "key.#" = "0".
Next, I transformed your test into a "table-driven" test which are really
nice to write and maintain. Basically, as you find bugs or edge cases, you can
just add to the table and you get the test for free. I recommend these
whereever you have a pure input to output sort of data transformation
function.
2014-07-16 18:32:36 -07:00
Jack Pearkes
bcc6f884b1
providers/aws: actually return ingress rule on refresh, tests
2014-07-16 20:14:01 -04:00
Mitchell Hashimoto
a6bb0144a6
providers/aws: remove some debug
2014-07-16 16:46:28 -07:00
Mitchell Hashimoto
0d8f6645fa
providers/aws/aws_instance: user_data diffs properly
2014-07-16 16:41:20 -07:00
Jack Pearkes
901785d04a
providers/aws: expand wildcard string lists
2014-07-16 18:51:50 -04:00
Mitchell Hashimoto
9ec1990608
providers/aws/aws_instance: fix security group and key name issues in count
2014-07-16 15:21:01 -07:00
Jack Pearkes
1e81b13943
providers/aws: elb updates
2014-07-16 17:02:54 -04:00
Armon Dadgar
427b445ba8
provisioner/file: Adding validation tests
2014-07-16 11:41:56 -07:00
Armon Dadgar
272ffcbe44
provisioner/file: Initial pass at file provisioner
2014-07-16 10:33:45 -07:00
Armon Dadgar
b84814539f
Refactor shared SSH setup code
2014-07-16 10:33:44 -07:00
Armon Dadgar
2c3e619960
Removing unused constants
2014-07-16 10:33:44 -07:00
Armon Dadgar
8691a3ce91
Refactor helper methods out of provisioner
2014-07-16 10:33:44 -07:00
Armon Dadgar
a9cad200d8
provisioner/file: Skeleton files
2014-07-16 10:33:44 -07:00
Mitchell Hashimoto
082790c4c1
providers/aws: basic user data, doesn't fully work yet because diffs are broke
2014-07-16 09:01:56 -07:00
Jack Pearkes
eafbc8d8c6
providers/aws: improve security group acc tests
2014-07-16 11:14:23 -04:00
Jack Pearkes
0252b5e3e5
providers/aws: fix tests for aws_security_group
2014-07-16 10:50:52 -04:00