Commit Graph

6477 Commits

Author SHA1 Message Date
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
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
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
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 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
Martin Atkins c3d15a2336 Docs for base64 interpolation functions. 2015-10-03 14:49:50 -07:00
Radek Simko 9cbcb9a438 Remove no-op Updates from resource schemas 2015-10-03 14:29:19 -07:00
Radek Simko 641b701830 schema: Make validation more strict 2015-10-03 14:29:19 -07:00
Radek Simko abe5189eb8 Update CHANGELOG.md 2015-10-03 14:25:31 -07:00
Radek Simko 2106ccf68f Merge pull request #3393 from TimeIncOSS/b-destroy-cross-providers
Ignore missing variables during destroy phase
2015-10-03 14:24:35 -07:00
Radek Simko 3a05f01553 Treat missing variables during destroy as unknown 2015-10-03 14:16:40 -07:00
Radek Simko 40b04154fe Add operation walkDestroy 2015-10-03 14:16:40 -07:00
Radek Simko 2b60d0c6b6 Add repro test case for bug #2892 2015-10-03 14:16:39 -07:00
Radek Simko c4a6a8f09a Merge pull request #3400 from TimeIncOSS/b-aws-fix-tests
aws: Only fail on missing TF_ACC_ID if we're actually running acc. tests
2015-10-03 09:47:07 -07:00
Radek Simko 1335131daa aws: Only fail on missing TF_ACC_ID if we're actually running acc. tests 2015-10-03 09:25:53 -07:00
Clint cf98cbc9ad Merge pull request #3396 from hashicorp/f-aws-reenable-test
provider/aws: Renable TestAccAWSRouteTable_vpcPeering
2015-10-02 16:51:35 -05:00
Clint Shryock d0f734af76 remove TODO 2015-10-02 16:50:26 -05:00
Clint Shryock 7aa14da9c7 provider/aws: Renable TestAccAWSRouteTable_vpcPeering with additional config 2015-10-02 16:47:59 -05:00
Clint Shryock 0af9a9f68f Merge branch 'pr-3256'
* pr-3256:
  docs: AWS launch configuration
2015-10-02 16:18:50 -05:00