Commit Graph

11084 Commits

Author SHA1 Message Date
Radek Simko 84ab00d92e helper/resource: Add TestStep.PreventPostDestroyRefresh
- This is to allow easier testing of data sources which read data from resources created in the same scope
2016-06-01 19:13:00 +01:00
James Nugent 0075bd75fd Merge pull request #6958 from hashicorp/fix-terraform-show
core: Update `terraform show` to deal with lists
2016-06-01 10:06:19 -05:00
clint shryock 5add35d654 provider/aws: Add Tags to Test AMIs to help debug leaks 2016-06-01 09:09:41 -05:00
Julian C. Dunn dd0ec5258b api.opscode.com should be api.chef.io (#6960)
The old name still works, but it's better to use the new one.
2016-06-01 09:35:09 +01:00
Paul Stack a9bfe7a84a Update CHANGELOG.md 2016-06-01 00:04:24 +01:00
dkalleg 1178293a54 Adding controller creation logic (#6853)
If a scsi or ide controller does not exist at the time a new disk
or cdrom needs it, we need to add that controller to the vm.
2016-06-01 00:03:33 +01:00
James Nugent c96a8d5302 core: Update `terraform show` to deal with lists
Fixes #6931.
2016-05-31 17:13:04 -05:00
Clint 4820512196 Update CHANGELOG.md 2016-05-31 16:35:09 -05:00
Clint c3153311f1 provider/aws: Add support for geolocation and latency records to aws route53
provider/aws: Geolocation and Latency for Route53 Records (supersedes #2981)
2016-05-31 16:34:18 -05:00
clint shryock d89a240885 - minor wording update and link to docs
- fix error checking
- update debug log on migration
- remove regression test because the attribute is renamed
2016-05-31 16:32:37 -05:00
James Nugent e97720f5e3 release: clean up after v0.7.0-rc1 2016-05-31 21:16:01 +00:00
Chris Marchesi 65824c7725 provider/aws: Add iam_arn to aws_cloudfront_origin_access_identity
Add the iam_arn attribute to aws_cloudfront_origin_access_identity,
which computes the IAM ARN for a certain CloudFront origin access
identity.

This is necessary because S3 modifies the bucket policy if CanonicalUser
is sent, causing spurious diffs with aws_s3_bucket resources.
2016-05-31 13:55:49 -07:00
James Nugent 301da85f30
v0.7.0-rc1 2016-05-31 20:49:07 +00:00
Adam Mielke 97fbeaf59f add support for geolocation and latency records to aws route53 provider 2016-05-31 15:11:02 -05:00
James Nugent f162d9173d Update CHANGELOG.md 2016-05-31 13:45:01 -05:00
James Nugent 48e85d65fa Merge branch 'sl1pm4t-gcs-remote-state-rebase2' 2016-05-31 13:43:26 -05:00
Matt Morrison cbfb4d8b86 remote state: Add GCS provider for remote state 2016-05-31 13:42:57 -05:00
James Nugent 741b012441 Update CHANGELOG.md 2016-05-31 12:52:31 -05:00
James Nugent 50a32b5ea4 Merge pull request #6881 from hashicorp/iam-policy-datasource
provider/aws: aws_iam_policy_document data source
2016-05-31 10:51:14 -07:00
Paul Hinze de0c6c89d3 Update CHANGELOG.md 2016-05-31 11:58:59 -05:00
Paul Hinze 5964f4a85d Merge pull request #6923 from paybyphone/paybyphone_sensitive_schema
core: Adding Sensitive attribute to resource schema
2016-05-31 11:57:54 -05:00
James Nugent c91d62fda0 provider/aws: aws_iam_policy_document data source
This brings over the work done by @apparentlymart and @radeksimko in
PR #3124, and converts it into a data source for the AWS provider:

This commit adds a helper to construct IAM policy documents using
familiar Terraform concepts. It makes Terraform-style interpolations
easier and resolves the syntax conflict between Terraform interpolations
and IAM policy variables by changing the latter to use &{...} for its
interpolations.

Its use is completely optional and users are free to go on using literal
heredocs, file interpolations or whatever else; this just adds another
option that fits more naturally into a Terraform config.
2016-05-31 11:08:02 -05:00
Clint adee6c8bed provider/aws: Add entry to changelog to note backwards incompatibilty (#6876)
* provider/aws: Add entry to changelog to note backwards compatibilty with AWS Instance

* update wording

* s/using/managin
2016-05-31 10:27:00 -05:00
James Nugent f563b65eba Merge pull request #6927 from paybyphone/paybyphone_azs_datasource_tests
provider/aws: Add tests for aws_availability_zones data source
2016-05-30 08:50:49 -07:00
Chris Marchesi 9d7fb89114 core: Adding Sensitive attribute to resource schema
This an effort to address hashicorp/terraform#516.

Adding the Sensitive attribute to the resource schema, opening up the
ability for resource maintainers to mark some fields as sensitive.
Sensitive fields are hidden in the output, and, possibly in the future,
could be encrypted.
2016-05-29 22:18:44 -07:00
Chris Marchesi 2d65e9dbd2 provider/aws: Add tests for aws_availability_zones data source
Closing off my other AWS availability zone branch, I'm adding tests for
the existing aws_availability_zones data source.

This closes hashicorp/terraform#4848.
2016-05-29 18:23:42 -07:00
Radek Simko fcc3736e6b Update CHANGELOG.md 2016-05-29 23:04:59 +01:00
djuke c1eee521f3 reading the aws instance it was assumed that eth0 was the first in the list of network interfaces (#6761) 2016-05-29 23:01:58 +01:00
James Nugent f3a3cfab73 Merge pull request #6925 from DreamHostData/topic/cidrsubnet-ipv6-example
add an example of cidrsubnet() being used with ipv6
2016-05-29 14:04:07 -07:00
Chris Weyl 92e23d2252 add an example of cidrsubnet() being used with ipv6
...as this will hopefully clue people in that this function will indeed
work to manipulate ipv6 networks.

Not that I completely spaced on that for quite some time, or anything
like that.

Nope, not me.  Not at all.
2016-05-29 15:41:16 -05:00
James Nugent d1e3978b0f Update CHANGELOG.md 2016-05-29 12:17:36 -07:00
James Nugent 46f81401b9 Merge pull request #6829 from hashicorp/aws-dynamodb-forcenew
provider/aws: Change to `aws_dynamodb_table` hash_key forces a new resource
2016-05-29 12:14:58 -07:00
James Nugent a49b6f30a4 Update CHANGELOG.md 2016-05-29 12:12:16 -07:00
James Nugent 3500dcfc1d Merge pull request #6884 from daveadams/f-lookup-default-value
Allow specifying a default value to lookup()
2016-05-29 12:11:19 -07:00
James Nugent 211f799b14 Merge pull request #6880 from hashicorp/godep-updates-datadog
Godep updates datadog
2016-05-29 12:10:18 -07:00
James Nugent 5de76daba1 Update CHANGELOG.md 2016-05-29 12:08:55 -07:00
James Nugent 5cb38c5041 Merge pull request #6911 from paybyphone/paybyphone_aws_ami_description_data_source
provider/aws: aws_ami_description - data source edition (now aws_ami)
2016-05-29 12:07:33 -07:00
James Nugent ec3d83665c Merge branch 'b-data-diff-lag' 2016-05-29 12:02:25 -07:00
James Nugent 8b252cfd2b Merge branch 'master' into b-data-diff-lag 2016-05-29 12:01:01 -07:00
James Nugent 46429968f0 Update CHANGELOG.md 2016-05-29 12:00:08 -07:00
James Nugent 5a0f6565d3 Merge pull request #6672 from apparentlymart/random-provider
Logical Resources for Random Values
2016-05-29 11:58:42 -07:00
James Nugent 4ca379f3c7 Merge pull request #6922 from paybyphone/paybyphone_expanded_datasource_destroyfix
core: Ensure EvalReadDataApply is called on expanded destroy nodes
2016-05-29 11:55:57 -07:00
Sarkis Varozian 5843ffa03e keep documentation consistent 2016-05-29 13:17:42 -04:00
Chris Marchesi 9ac7fb0276 provider/aws: New data source: aws_ami
This data source allows one to look up the most recent AMI for a specific
set of parameters, much like aws ec2 describe-images in the AWS CLI.

Basically a refresh of hashicorp/terraform#4396, in data source form.
2016-05-29 09:55:12 -07:00
Chris Marchesi 559799599e core: Ensure EvalReadDataApply is called on expanded destroy nodes
During accpeptance tests of some of the first data sources (see
hashicorp/terraform#6881 and hashicorp/terraform#6911),
"unknown resource type" errors have been coming up. Traced it down to
the ResourceCountTransformer, which transforms destroy nodes to a
graphNodeExpandedResourceDestroy node. This node's EvalTree() was still
indiscriminately using EvalApply for all resource types, versus
EvalReadDataApply. This accounts for both cases via EvalIf.
2016-05-28 22:48:28 -07:00
Joe Topjian a3a8b534ed Merge pull request #6920 from jtopjian/openstack-instance-doc-update
provider/openstack: Add delete_on_termination argument to docs
2016-05-28 16:55:32 -06:00
Joe Topjian c083a4f5dc provider/openstack: Add delete_on_termination argument to docs
This commit adds a description of the delete_on_termination argument
to the openstack_compute_instance_v2 documentation.
2016-05-28 22:46:54 +00:00
Joe Topjian 709e0bf9ad Merge pull request #6918 from jtopjian/openstack-devstack-fmt-fixes
provider/openstack: Devstack and fmt fixes
2016-05-28 16:01:34 -06:00
Joe Topjian fd91df2ca2 vendor: Updating Gophercloud for OpenStack provider 2016-05-28 21:53:31 +00:00
Joe Topjian e0d343906d provider/openstack: Add lb_provider argument to lb_pool_v1
This commit adds the lb_provider argument to the lb_pool_v1 resource.
This argument can be used to specify a backend load balancing system.
2016-05-28 21:53:27 +00:00