Commit Graph

18804 Commits

Author SHA1 Message Date
Paul Stack
c80aacc8d2 Update CHANGELOG.md 2017-05-09 13:10:45 +03:00
Dana Hoffman
1438eacdad provider/google: better visibility for compute_region_backend_service (#14301) 2017-05-09 13:10:14 +03:00
Paul Stack
d4bb835b31 Update CHANGELOG.md 2017-05-09 13:08:34 +03:00
stack72
94150ea370
Merge branch 'joshuaspence-ses-arn' 2017-05-09 13:06:59 +03:00
stack72
d637885dc3
provider/aws: Removal of Optional from aws_ses_domain_identity arn param
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAwsSESDomainIdentity_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/05/09 13:05:15 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAwsSESDomainIdentity_ -timeout 120m
=== RUN   TestAccAwsSESDomainIdentity_basic
--- PASS: TestAccAwsSESDomainIdentity_basic (23.53s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	23.545s
```
2017-05-09 13:06:11 +03:00
stack72
880071ded5
Merge branch 'ses-arn' of https://github.com/joshuaspence/terraform into joshuaspence-ses-arn 2017-05-09 13:04:27 +03:00
Joshua Spence
f488e385f2 Add arn attribute to aws_ses_domain_identity resource 2017-05-09 17:14:51 +10:00
Radek Simko
13e1a62319 Update CHANGELOG.md 2017-05-09 05:07:59 +02:00
Radek Simko
178488f4bd provider/kubernetes: Add support for limit_range (#14285) 2017-05-09 05:07:17 +02:00
Martin Atkins
1b6a5af77b Update CHANGELOG.md 2017-05-08 17:43:25 -07:00
Martin Atkins
a06e6c69d0 Update CHANGELOG.md 2017-05-08 17:42:28 -07:00
Dmitrii Korotovskii
ace0456d58 http provider and http request data source 2017-05-08 17:37:48 -07:00
Dana Hoffman
9a1c6d990f Update CHANGELOG.md 2017-05-08 16:37:26 -07:00
emily
64c2e68de9 Add additional properties for google resource storage bucket object. (#14259) 2017-05-08 16:35:47 -07:00
clint shryock
8b252d19ab provider/aws: Update TestAccAWSCloudWatchEventTarget_ssmDocument / TestAccAWSCloudWatchEventTarget_full tests to avoid name collisions 2017-05-08 16:22:58 -05:00
Clint
d0f5b23b72 Update CHANGELOG.md 2017-05-08 09:04:04 -05:00
Sergiusz Bazański
0175129d9e Fix Google Cloud Service Account provider .Read (#14282)
The implementation would return an error if the resource was detected as
removed - this would break Terraform instead of making it re-create the
missing service account.
2017-05-08 09:02:54 -05:00
Radek Simko
dd5577ee44 Update CHANGELOG.md 2017-05-08 14:48:31 +02:00
Radek Simko
296a3b2381 provider/kubernetes: Add support for resource_quota (#13914) 2017-05-08 13:43:24 +02:00
Paul Stack
7c4e2c198a Update CHANGELOG.md 2017-05-08 14:12:05 +03:00
Paul Stack
221a88610b provider/aws: Add support for importing Kinesis Streams (#14278)
Fixes: #14260

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSKinesisStream_import'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/05/08 10:32:47 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSKinesisStream_import -timeout 120m
=== RUN   TestAccAWSKinesisStream_importBasic
--- PASS: TestAccAWSKinesisStream_importBasic (101.93s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	101.978s
```
2017-05-08 14:11:23 +03:00
Paul Stack
3cec809297 Update CHANGELOG.md 2017-05-08 13:51:00 +03:00
Paul Stack
03e4e00673 provider/aws: Refresh ssm document from state on 404 (#14279)
* provider/aws: Refresh ssm document from state on 404

Originally reported in #13976

When an SSM Document was deleted outside of Terraform, a terraform
refresh would return the following:

```
% terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

aws_ssm_document.foo: Refreshing state... (ID: test_document-stack72)
Error refreshing state: 1 error(s) occurred:

* aws_ssm_document.foo: aws_ssm_document.foo: [ERROR] Error describing SSM document: InvalidDocument:
	status code: 400, request id: 70c9bed1-33bb-11e7-99aa-697e9b0914e9

```

On applying this patch, it now looks as follows:

```
% terraform plan
  [WARN] /Users/stacko/Code/go/bin/terraform-provider-aws overrides an internal plugin for aws-provider.
    If you did not expect to see this message you will need to remove the old plugin.
    See https://www.terraform.io/docs/internals/internal-plugins.html
  Refreshing Terraform state in-memory prior to plan...
  The refreshed state will be used to calculate this plan, but will not be
  persisted to local or remote state storage.

  aws_ssm_document.foo: Refreshing state... (ID: test_document-stack72)
  The Terraform execution plan has been generated and is shown below.
  Resources are shown in alphabetical order for quick scanning. Green resources
  will be created (or destroyed and then created if an existing resource
  exists), yellow resources are being changed in-place, and red resources
  will be destroyed. Cyan entries are data sources to be read.

  Note: You didn't specify an "-out" parameter to save this plan, so when
  "apply" is called, Terraform can't guarantee this is what will execute.

  + aws_ssm_document.foo
      arn:              "<computed>"
      content:          "    {\n      \"schemaVersion\": \"1.2\",\n      \"description\": \"Check ip configuration of a Linux instance.\",\n      \"parameters\": {\n\n      },\n      \"runtimeConfig\": {\n        \"aws:runShellScript\": {\n          \"properties\": [\n            {\n              \"id\": \"0.aws:runShellScript\",\n              \"runCommand\": [\"ifconfig\"]\n            }\n          ]\n        }\n      }\n    }\n"
      created_date:     "<computed>"
      default_version:  "<computed>"
      description:      "<computed>"
      document_type:    "Command"
      hash:             "<computed>"
      hash_type:        "<computed>"
      latest_version:   "<computed>"
      name:             "test_document-stack72"
      owner:            "<computed>"
      parameter.#:      "<computed>"
      platform_types.#: "<computed>"
      schema_version:   "<computed>"
      status:           "<computed>"

  Plan: 1 to add, 0 to change, 0 to destroy.
```

* Update resource_aws_ssm_document.go
2017-05-08 13:50:16 +03:00
Radek Simko
339079c402 Update CHANGELOG.md 2017-05-08 11:15:54 +02:00
Radek Simko
b3eefecc05 provider/aws: Retry deletion of AWSConfig Rule on ResourceInUseException (#14269) 2017-05-08 11:15:12 +02:00
Russ Van Bert
e88ca0b744 Grammar correction in alarm description (#14276) 2017-05-08 09:35:59 +03:00
Joe Topjian
c732c3b16f Update CHANGELOG.md 2017-05-06 12:30:04 -04:00
Joe Topjian
a59e1183d1 Merge pull request #14210 from fatmcgav/provider_openstack_fix_floatingip_association_deletion
provider/openstack: Handle disassociating FloatingIP's from a server
2017-05-06 10:28:58 -06:00
Radek Simko
6dad46ff4e Update CHANGELOG.md 2017-05-06 01:25:09 +02:00
Max T
581cfe3982 Add verbose Dyn provider logs (#14076)
To help troubleshoot, configure the underlying Dyn API module
to output verbose logs when TF_LOG is debug or higher.
2017-05-06 01:24:14 +02:00
Seth Vargo
c2b1fa9adf Merge pull request #14250 from hashicorp/sethvargo/provider-guide
Add Provider Guide
2017-05-05 18:12:48 -04:00
Seth Vargo
83f29a3456
Add more complete Read example 2017-05-05 17:36:30 -04:00
Jake Champlin
076a67f754 Update CHANGELOG.md 2017-05-05 17:15:56 -04:00
Jake Champlin
00de514749 Merge pull request #14256 from alexwlchan/fix-error-message
Improve the wording of an error message
2017-05-05 17:15:09 -04:00
Seth Vargo
1cffbbb323
Update feedback 2017-05-05 17:13:32 -04:00
Seth Vargo
0acb57f464
Add guide for Terraform providers 2017-05-05 17:13:31 -04:00
Seth Vargo
c70cc706ee
Add scaffolding for guides 2017-05-05 17:13:31 -04:00
Jake Champlin
ba13b60c8c Merge pull request #14255 from trotttrotttrott/state-sidebar-link-text
Replace "All Providers" link text w/ "All Commands"
2017-05-05 17:02:47 -04:00
Alex Chan
8b22a85736
Improve the wording of an error message 2017-05-05 22:00:42 +01:00
trotttrotttrott
4170fe9e33 Replace "All Providers" link text w/ "All Commands"
This was probably a c/p mistake when this page was first created. The
src is rightly pointed back to the commands index, not resources.
2017-05-05 13:51:15 -07:00
Paul Stack
05698521b3 Update CHANGELOG.md 2017-05-05 22:26:42 +03:00
Bernerd Schaefer
5b085f4c44 providers/heroku: import heroku_app resource (#14248)
Adds support for importing normal and organization apps with the
heroku_app resource.

The resource itself depends on an `organization` value in the
configuration to switch behavior for the different kinds of apps, so
`schema.ImportStatePassthrough` is not sufficient.
2017-05-05 22:26:04 +03:00
Jake Champlin
851a1333f5 Update CHANGELOG.md 2017-05-05 15:13:32 -04:00
Jake Champlin
88c6e95e4f Merge pull request #14245 from hashicorp/f-add-arn-security-group-data-source
provider/aws: Add ARN to security group data source
2017-05-05 15:12:34 -04:00
Jake Champlin
06b5fbf9ef
add docs 2017-05-05 13:58:15 -04:00
liz abinante!
081e72f9f8 Merge pull request #14185 from hashicorp/liz/tfe-variables
[website] docs for TFE personal env + org variables
2017-05-05 10:38:00 -07:00
Glen Mailer
4ac56338de Improve tests and documentation for azurerm_template_deployment outputs (#13567)
* Improve tests and documentation for azurerm_template_deployment outputs

* Updating to match the latest changes in master
2017-05-05 17:51:59 +01:00
Eugene Bekker
7c6d1956b0 website: too many '$' after first round of interpolation for template_file 2017-05-05 09:42:40 -07:00
Jake Champlin
ed403882e2
provider/aws: Add ARN to security group data source
Adds computed `arn` to security group data source

```
$ make testacc TEST=./builtin/providers/aws TESTARGS="-run=TestAccDataSourceAwsSecurityGroup"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/05/05 10:17:35 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccDataSourceAwsSecurityGroup -timeout 120m
=== RUN   TestAccDataSourceAwsSecurityGroup
--- PASS: TestAccDataSourceAwsSecurityGroup (56.72s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws    56.725s
```
2017-05-05 10:25:52 -04:00
Dennis Webb
e27e0862f3 Fixes order of interpolation functions in docs (#14241) 2017-05-05 17:24:03 +03:00