Commit Graph

8459 Commits

Author SHA1 Message Date
Sander van Harmelen 20901a6478 Add a check to see if the port value is valid
Without this additional check it could happen that one of the firewall
resources would panic is given an unexpected port value.
2016-01-21 09:38:14 +01:00
James Nugent df6e111c85 provider/dme: Clarify GTD meaning in docs 2016-01-20 20:23:36 -05:00
Mat Davies 45b3b9d181 provider/dme: Add support for `gtdLocation`
Add support for GTD (Global Traffic Director) enabled domains to the DME
provider. Specifically add `gtdLocation` to the `dme_record` resource.
2016-01-20 20:23:29 -05:00
Ian Duffy 47ac10d66b Change resource.StateChangeConf to use an array for target states
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-01-21 01:20:41 +00:00
James Nugent 8449cf9d98 provider/azurerm: `azurerm_storage_account` docs 2016-01-20 19:58:48 -05:00
James Nugent 53c23511ef provider/azurerm: Add `azurerm_storage_account`
This is an unusual resource (so far) in that it cannot be created in one
call, and instead must be created and the modified to set some of the
parameters.

We use the pollIndefinitelyWhileNeeded function which will continue to
poll Azure RM operation monitoring endpoints until an error is reported
or the operation meets one of the given status codes. The function was
originally part of this feature but was separated out in order to
unblock other work.

Currently there is no support for the "custom_domain" section of the
storage account API. This was originally present and was later taken out
of the scope of the storage account resource in order that the following
workflow can be used:

1. Create storage account
2. Create DNS CNAME entry once the account name is known
3. Create custom domain mapping
2016-01-20 19:47:23 -05:00
Paul Hinze 3c6ba21ba4 Update CHANGELOG.md 2016-01-20 17:12:07 -06:00
Paul Hinze 944e6eec02 Merge pull request #4762 from hashicorp/phinze/validate-output-missing-value
config: validation error when output is missing value field
2016-01-20 17:11:38 -06:00
Paul Hinze 917102f882 Merge pull request #4751 from hashicorp/phinze/enhanced-contributing-guidelines
Enhanced Contributing Guide
2016-01-20 17:04:57 -06:00
Paul Hinze 0826220d09 Update CHANGELOG.md 2016-01-20 16:52:24 -06:00
Paul Hinze efaa37b5d5 Update CHANGELOG.md 2016-01-20 16:49:44 -06:00
Paul Hinze 859bea5787 Merge pull request #4766 from hashicorp/phinze/write-empty-planfiles
core: write planfile even on empty plans
2016-01-20 16:49:07 -06:00
James Nugent 5c16b47330 Merge pull request #4765 from hashicorp/f-docs-operators
docs: Add operators for interpolation functions
2016-01-20 17:09:45 -05:00
Paul Hinze 4a51e4fe91 core: write planfile even on empty plans
This makes the planfile workflow more consistent. If a plan yields a
noop, the apply of that planfile will noop.

Fixes #1783
2016-01-20 16:00:20 -06:00
Paul Hinze a5b28868a8 Update CHANGELOG.md 2016-01-20 15:44:27 -06:00
Paul Hinze 16da3b9f1b Update CHANGELOG.md 2016-01-20 15:43:19 -06:00
Paul Hinze fb5eba86cb Merge pull request #4763 from hashicorp/phinze/module-depth-new-default
command: Change module-depth default to -1
2016-01-20 15:40:08 -06:00
James Nugent efe27f3eae docs: Add operators for interpolation functions 2016-01-20 16:28:07 -05:00
Paul Hinze 87a9701f91 config: validation error when output is missing value field
Also lists out invalid keys in errmsg when they are present

Closes #4398
2016-01-20 14:00:36 -06:00
Paul Hinze e67fc0fe9b command: Change module-depth default to -1
This means that terraform commands like `plan`, `apply`, `show`, and
`graph` will expand all modules by default.

While modules-as-black-boxes is still very true in the conceptual design
of modules, feedback on this behavior has consistently suggested that
users would prefer to see more verbose output by default.

The `-module-depth` flag and env var are retained to allow output to be
optionally limited / summarized by these commands.
2016-01-20 13:58:02 -06:00
Sander van Harmelen 1893942732 Merge pull request #4701 from hashicorp/phinze/fix-race-winrm
communicator/winrm: fix data race in io copy
2016-01-20 20:29:42 +01:00
James Nugent 2ad13251b9 Update CHANGELOG.md 2016-01-20 14:06:16 -05:00
James Nugent fda9b0f1ed Merge pull request #4759 from stack72/azurerm-cdn-endpoint
provider/azurerm: add CDN Endpoint resource
2016-01-20 14:05:22 -05:00
stack72 d91c7080e0 Scaffold the AzureRM CDN Endpoint resource 2016-01-20 16:47:41 +00:00
James Nugent 2dff310b8b Update CHANGELOG.md 2016-01-20 11:30:19 -05:00
James Nugent 644a52c473 Merge pull request #4757 from hashicorp/f-cloudinitconfig-update
provider/template: Allow update in `template_cloudinit_config`
2016-01-20 11:22:57 -05:00
James Nugent 90b6512e0d Merge pull request #4758 from hashicorp/f-azurerm-poll-indefinitely
provider/azurerm: Poll indefinitely if no error
2016-01-20 10:32:22 -05:00
James Nugent 734d5698d7 provider/azurerm: Poll indefinitely if no error
This adds a pollIndefinitelyWhileNeeded function which will continue to
poll Azure RM operation monitoring endpoints until an error is reported
or the operation meets one of the given status codes. This may need
revisiting at some point in the future.
2016-01-20 10:25:26 -05:00
James Nugent b0f9eb5c13 provider/template: Allow update in `template_cloudinit_config` 2016-01-20 09:58:20 -05:00
James Nugent 6e23304710 Update CHANGELOG.md 2016-01-20 09:30:12 -05:00
James Nugent 6dd31986fd Merge pull request #4753 from hashicorp/b-init-state-path
command/init: put remote state config at proper path [GH-2927]
2016-01-20 09:28:21 -05:00
James Nugent fbe3098f1d Update CHANGELOG.md 2016-01-20 09:24:28 -05:00
James Nugent 4fb90c9dcf Merge branch 'f-google-named-ports' 2016-01-20 09:22:43 -05:00
chris 9aa8bbda93 provider/google: Support named_port on instance_group_manager
This allows HTTP and HTTPs load-balancers to direct traffic to ports other than tcp/80 and tcp/443.
2016-01-20 09:15:30 -05:00
Mitchell Hashimoto 6a972a7713 command/init: put remote state config at proper path [GH-2927] 2016-01-19 17:13:19 -08:00
Paul Hinze c42f25df74 Update CHANGELOG.md 2016-01-19 19:03:33 -06:00
Paul Hinze 79fafbdbe8 website: document kms_key_id on s3 remote state 2016-01-19 18:58:47 -06:00
Paul Hinze ba21769083 Merge pull request #2903 from kjmkznr/remote-s3-sse-kms
state/remote/s3: Allows KMS Key Encryption setting when using S3 backend with encrypt
2016-01-19 18:54:03 -06:00
Paul Hinze 902096034c Update CHANGELOG.md 2016-01-19 18:29:46 -06:00
Paul Hinze 7d10d454e2 Merge pull request #4749 from hashicorp/b-1752
core: fix diff mismatch when RequiresNew field and list both change
2016-01-19 18:29:10 -06:00
Paul Hinze 077879f59c Update CHANGELOG.md 2016-01-19 18:25:35 -06:00
Paul Hinze 47b521ebaf Merge pull request #4745 from hashicorp/b-lifecycle-keys
config: validate lifecycle keys [GH-4413]
2016-01-19 18:24:54 -06:00
Paul Hinze 05ac186691 Update CHANGELOG.md 2016-01-19 18:24:10 -06:00
Paul Hinze 911575b7d6 Merge pull request #4747 from hashicorp/b-escaped
Literals with escaped interpolations work
2016-01-19 18:23:08 -06:00
Paul Hinze a0d3245ee3 core: Orphan addressing / targeting
Instead of trying to skip non-targeted orphans as they are added to
the graph in OrphanTransformer, remove knowledge of targeting from
OrphanTransformer and instead make the orphan resource nodes properly
addressable.

That allows us to use existing logic in TargetTransformer to filter out
the nodes appropriately. This does require adding TargetTransformer to the
list of transforms that run during DynamicExpand so that targeting can
be applied to nodes with expanded counts.

Fixes #4515
Fixes #2538
Fixes #4462
2016-01-19 17:48:44 -06:00
Paul Hinze 283d57c031 Merge pull request #4700 from hashicorp/phinze/fix-testrace-resource
helper/resource: Fix data race in resource.Retry
2016-01-19 17:17:04 -06:00
Paul Hinze 6bd60a940c Enhanced Contributing Guide
This is a vastly expanded and clarified Contributing guide. It includes
guidelines for each type of contribution and issue report that are
designed to be linked off to from issue / PR comments.

We expect the text will continue to evolve as we learn what works and
what doesn't.

This guide will coincide with a HashiCorp blog post explaining the
motivation and context around these changes:

https://github.com/hashicorp/www/pull/160
2016-01-19 17:11:17 -06:00
Paul Hinze 4af2c5f5dd core: fix diff mismatch when RequiresNew field and list both change
fixes #1752

Includes AccTest reproducing example from the issue as well as a bunch
of explanatory comments in the tests and impls.
2016-01-19 15:38:04 -06:00
Mitchell Hashimoto 693736b52a config: fix tests 2016-01-19 13:17:47 -08:00
Mitchell Hashimoto f223be15cd config: eval HEL as long as the result changes [GH-2909] 2016-01-19 12:51:56 -08:00