Commit Graph

7441 Commits

Author SHA1 Message Date
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
Radek Simko 8fd548381e Merge pull request #3425 from balser/vpn-doc-fixes
doc: Correct VPC customer gw type in examples.
2015-10-06 10:49:03 -07:00
balser 4ede14ee3e Correct VPC customer gw type in examples. 2015-10-06 13:39:39 -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 374070d066 website: docs for parallelism setting
/cc @stack72 @knuckolls @mitchellh
2015-10-05 17:21:29 -05:00
Paul Hinze 27eb6a1e4a Update CHANGELOG.md 2015-10-05 16:37:32 -05:00
Paul Hinze 085dde5926 Merge pull request #3018 from apparentlymart/auto-set-hash
helper/schema: Default hashing function for sets
2015-10-05 16:36:46 -05:00
Paul Hinze e1a46904d6 command: pull parallelism default up to CLI layer
/cc @knuckolls @josephholsten
2015-10-05 15:06:08 -05:00
Paul Hinze 7bcca4a290 Update CHANGELOG.md 2015-10-05 14:44:46 -05:00
Paul Hinze 18125d84d2 Merge pull request #3365 from josephholsten/f-add-parallelism-to-ui
add parallelism to ui
2015-10-05 14:43:59 -05:00
Paul Hinze 237362d99e Update CHANGELOG.md 2015-10-05 14:32:15 -05:00
Paul Hinze c2d8782064 Update CHANGELOG.md 2015-10-05 14:31:57 -05: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
Martin Atkins 3e9e96286a Document that heredoc syntax is supported.
Previously the only "documentation" I could find about this was a pull
request in the HCL repository.
2015-10-05 09:38:52 -07:00
Radek Simko 26cc97941e Update CHANGELOG.md 2015-10-05 08:05:43 -07: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
Martin Atkins 967c88a375 Update CHANGELOG.md
Add some PR references I apparently missed on the first pass. Whoops!
2015-10-04 09:43:56 -07:00
Radek Simko d86c753cf1 provider/aws: Add docs for EFS resources 2015-10-03 19:35:07 -07: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 cc8e8a55de helper/schema: Default hashing function for sets
A common issue with new resource implementations is not considering parts
of a complex structure that's used inside a set, which causes quirky
behavior.

The schema helper has enough information to provide a default reasonable
implementation of a set function that includes all non-computed attributes
in a deterministic way. Here we implement such a function and use it
when no explicit hashing function is provided.

In order to achieve this we encapsulate the construction of the zero
value for a schema in a new method schema.ZeroValue, which allows us to
put the fallback logic to the new default function in a single spot.
It is no longer valid to use &Set{F: schema.Set} and all uses of that
construct should be replaced with schema.ZeroValue().(*Set) .
2015-10-03 18:10:47 -07:00
Martin Atkins e849ec3af5 Example for the command arg on docker_container.
For those accustomed to running commands via a shell it may not be clear
why this argument is a list and what the elements of that list should be.
Hopefully giving an example will help people understand what is expected.

This is in response to the misunderstanding discovered in #3011.
2015-10-03 18:03:04 -07:00
Martin Atkins ccc8f0d0fb S3 remote state use application/json Content-Type.
The state is always JSON, in spite of the fact that this interface
presents it as an opaque byte array. It's more helpful to those interacting
with the state object outside of Terraform for it to have a more specific
content-type.
2015-10-03 18:02:36 -07:00
Martin Atkins 53f1edc28c Update CHANGELOG.md 2015-10-03 17:56:46 -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 c3a6c050a2 Update CHANGELOG.md 2015-10-03 17:43:41 -07:00
Martin Atkins 859c6c5e68 Merge #3233: Allow canned ACLs on S3 remote state. 2015-10-03 17:40:17 -07:00
Martin Atkins 0ee282bbc2 Update CHANGELOG.md 2015-10-03 17:32:13 -07:00
Martin Atkins b8706a24d4 Merge #3156: aws_iam_saml_provider resource 2015-10-03 17:29:25 -07:00
Martin Atkins 9b4a85ebd0 Update CHANGELOG.md 2015-10-03 17:18:28 -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 b92f50ed1b Update CHANGELOG.md 2015-10-03 16:02:32 -07:00
Martin Atkins 1896d71d59 Merge #3235: elasticache cluster name to lowercase 2015-10-03 15:53:54 -07:00
Radek Simko 7a4d7983f8 Merge pull request #3402 from apparentlymart/base64-interp-funcs
Rename base64enc/dec to encode/decode
2015-10-03 15:28:55 -07:00
Martin Atkins 0b85d35e87 Rename base64enc/dec to encode/decode.
There isn't any precedent for abbreviating words in the interpolation
function names, and it may not be clear to all users what "enc" and "dec"
are short for, so instead we'll prefer to spell out the whole words for
improved readability.
2015-10-03 15:12:51 -07:00
Martin Atkins b4e0a8e225 Merge branch 'base64-interp-funcs' 2015-10-03 14:52:09 -07:00