Commit Graph

17897 Commits

Author SHA1 Message Date
Martin Atkins 12e4c492b8 Update CHANGELOG.md 2017-04-06 13:47:53 -07:00
Martin Atkins 0e963db2c5 Detect and reject unknown attributes in "connection" blocks
Since the validation of connection blocks is delegated to the communicator
selected by "type", we were not previously doing any validation of the
attribute names in these blocks until running provisioners during apply.

Proper validation here requires us to already have the instance state,
since the final connection info is a merge of values provided in config
with values assigned automatically by the resource. However, we can do
some basic name validation to catch typos during the validation pass, even
though semantic validation and checking for missing attributes will still
wait until the provisioner is instantiated.

This fixes #6582 as much as we reasonably can.
2017-04-06 13:46:43 -07:00
Seth Vargo ac3d79e51e
Space feature boxes 2017-04-06 15:16:58 -04:00
James Bardin ef2b51d2dc Merge pull request #13430 from hashicorp/jbardin/consul-delete-locks
cleanup consul lock entries
2017-04-06 15:15:20 -04:00
Seth Vargo 9656b23431 Merge pull request #13429 from hashicorp/sethvargo/rebrand
Apply rebranding
2017-04-06 14:58:49 -04:00
Seth Vargo fad6be45ab
Contain SVGs 2017-04-06 14:23:07 -04:00
James Bardin 5621d97925 cleanup consul lock entries
This matches the consul cli behavior, where locks are cleaned up after
use.

Return an error from re-locking the state. This isn't required by the
Locker interface, but it's an added sanity check for state operations.
What was incorrect here was returning an empty ID and error, which would
indicate that Lock/Unlock isn't supported.
2017-04-06 14:19:55 -04:00
Seth Vargo 78644356d0
Update atlas and archive 2017-04-06 14:09:12 -04:00
Seth Vargo c672529d6f
Update arukus 2017-04-06 14:09:12 -04:00
Seth Vargo 4246790135
Update backend-types sidebar 2017-04-06 14:09:11 -04:00
Seth Vargo d41bd13b9c
Update alicloud sidebar 2017-04-06 14:09:11 -04:00
Seth Vargo 56a50cb552
Remove fancy quotes 2017-04-06 14:09:10 -04:00
Seth Vargo a2ee36d9ea
Replace // with # 2017-04-06 14:09:10 -04:00
Seth Vargo e1558b4c28
Do not link h3 in sidebar 2017-04-06 14:09:09 -04:00
Seth Vargo 9c68595d61
Update intro section 2017-04-06 14:09:07 -04:00
Seth Vargo 487c6daf94
Move image into docs 2017-04-06 14:08:42 -04:00
Seth Vargo 90ecc7d0d5
Redo home page 2017-04-06 14:08:42 -04:00
Seth Vargo 4d9337d0b8
Add press-kit 2017-04-06 14:08:41 -04:00
Seth Vargo 53cbe57bde
Add open graph images 2017-04-06 14:08:41 -04:00
Seth Vargo 379f939bb4
Add favicons 2017-04-06 14:08:40 -04:00
Seth Vargo e3f56e98bf
Update alicloud 2017-04-06 14:08:40 -04:00
Seth Vargo 7110d15f19
Add HCL syntax highlighting for everything but providers 2017-04-06 14:08:39 -04:00
Seth Vargo 34c553a42b
Update basic scaffolding 2017-04-06 14:08:37 -04:00
Martin Atkins a9e9220a6e Update CHANGELOG.md 2017-04-06 10:00:27 -07:00
Martin Atkins a0269c688c helper/schema: Clarify the expectations for DefaultFunc
Discussion in #9512 revealed that some of the comments here were
inaccurate and that the comments here did not paint a complete enough
picture of the behavior and expectations of Default and DefaultFunc.

This is a comments-only change that aims to clarify the situation and
call attention to the fact that the defaults only affect the handling of
the configuration and that changes to defaults may require migration of
existing resource states.

This closes #9512.
2017-04-06 09:51:43 -07:00
Colin Wood 6cea00ed46 Updated with bitbucket improvements information 2017-04-06 09:47:05 -07:00
Colin Wood c88b19e5c8 Merge pull request #13390 from cwood/cwood/refactor-bitbucket-provider
Refactoring of bitbucket provider with better error support and general improvments
2017-04-06 09:40:36 -07:00
Matthew Frahry 924453ea3c Merge pull request #13399 from hashicorp/p-aws-tests
P aws tests
2017-04-06 09:33:11 -06:00
James Bardin 8a1089a161 convert the other context keys to the correct type 2017-04-06 10:51:24 -04:00
James Bardin 812f9fb253 don't use primitive types for context value keys
A context value key should be typed within the package namespace,
otherwise different packages could have colliding values in a context.
2017-04-06 10:36:06 -04:00
Joern Barthel 059a1b2c0f Added chomp interpolation function. 2017-04-06 13:17:25 +02:00
Tom Harvey 182e6c5f4e Updating the changelog after #12455 2017-04-06 10:32:08 +01:00
Tom Harvey 6f2551ec33 Merge pull request #12455 from brandontosch/brandontosch/GH-11874
AzureRM Managed Disks
2017-04-06 10:29:40 +01:00
Nic Jackson b908fc54dc
Updated provider documentation to highlight limitations of interpolation syntax 2017-04-06 09:19:37 +01:00
Alan D. Salewski a2c63613eb fixes #13405: website (typo): "will automatic lock" ==> "will automatically lock" 2017-04-05 18:23:17 -07:00
= 1f13ff22a3 TestAccAWSAutoScalingGroup_ALB_TargetGroups passes 2017-04-05 16:07:14 -06:00
James Bardin e2a428b43f Merge pull request #13384 from hashicorp/s3-state-locks
Unify s3 client code
2017-04-05 16:15:08 -04:00
Clint 092fe7ded6 Merge pull request #13394 from hashicorp/b-aws-redshift-fixes
provider/aws: Fix some Acc tests by skipping final snaphot in Redshift
2017-04-05 15:08:21 -05:00
Clint c3d34b2c6e Update CHANGELOG.md 2017-04-05 14:39:24 -05:00
Clint 7cd0708402 Merge pull request #13281 from ameir/fix-aws_s3_bucket-logging-diff
Fix `aws_s3_bucket` diff of logging options
2017-04-05 14:38:39 -05:00
clint shryock 053dd92937 provider/aws: Fix some Acc tests by skipping final snaphot in Redshift
Redshift was changed to not skip snapshots by default, so our configs
were out of date and causing errors in destroy (thus leaking redshifts)

This changes the configs to skip snapshots, which should at least fix:

- TestAccAWSKinesisFirehoseDeliveryStream_RedshiftConfigUpdates
- TestAccAWSRedshiftCluster_loggingEnabled
2017-04-05 14:33:33 -05:00
Colin Wood 10cda98245 Refactoring of bitbucket provider with betters.
Also doesnt use decode/encode anymore since those methods are more
intended for streams. So this goes to the more standed marshal/unmarshal
of data.

This also adds better error support and will try to give the user
better errors from the api if it can. Or any issues with the bitbucket
service.
2017-04-05 12:09:43 -07:00
clint shryock 95c58269b9 provider/aws: fix TestAccAWSCloudwatchLogSubscriptionFilter_basic by linking the name 2017-04-05 13:48:13 -05:00
clint shryock 403e48f1cf provider/aws: Randomize ElastiCache param group name. Fixes TestAccAWSElasticacheParameterGroupOnly,
TestAccAWSElasticacheParameterGroup_basic, TestAccAWSElasticacheParameterGroup_importBasic
2017-04-05 13:01:17 -05:00
Clint 114856ec9a Update CHANGELOG.md 2017-04-05 12:48:44 -05:00
Clint 66124fb343 provider/aws: Fix KMS Key reading with Exists method (#13348)
* provider/aws: Fix KMS Key reading with Exists method

Fixes #13322 by checking if the key Exists and offering to recreate if
not found, or pending delete

* remove redundant code
2017-04-05 12:48:11 -05:00
James Bardin 6e136c848a use the aws provider client initialization
Use the aws provider code to create the clients for the s3 backend, so
that all the behavior matches that of the provider.

Remove the fake creds from the test, as the aws provider will attempt to
validate them.
2017-04-05 12:39:50 -04:00
Martin Atkins 1eb744c6cf website: clarify some aspects of the aws_lambda_function docs
The docs on aws_lambda_function used some differing terminology to
what's currently used in the official AWS lambda docs, which
caused some confusion for users trying to use the Java runtime
where the "deployment package" is a JAR archive rather than a plain
zip file.

This change attempts to be consistent with the terminology used in the
AWS docs and also clarifies that the implementation now allows
source_code_hash to be used regardless of which deployment package
upload method is in use.

This fixes #12443.
2017-04-05 09:33:03 -07:00
Paul Stack 4a804db415 Update CHANGELOG.md 2017-04-05 19:29:32 +03:00
James Bardin 0ec2a5cfd3 add AWSClient methods to get s3 and dyndb conns
Add getters for the AWSClient s3.S3 and dynamodb.DynamoDB clients so the
s3 remote-state backend can use all the same initialization code as the
aws provider.
2017-04-05 12:29:25 -04:00