Commit Graph

13522 Commits

Author SHA1 Message Date
Joshua Carp 1f8c2e4c69 Parse AWS partition from ARN.
[Resolves #5307]
2016-10-07 00:08:30 -04:00
James Bardin 9fc50a76c3 Get rid of the list when parsing HCL maps for vars
When we parse a map from HCL, it's decoded into a list of maps because
HCL allows declaring a key multiple times to implicitly add it to a
list.  Since there's no terraform variable configuration that supports
this structure, we can always flatten a []map[string]interface{} value
to a map[string]interface{} and remove any type rrors trying to apply
that value.
2016-10-06 19:44:19 -04:00
Paul Stack 843db01d17 Update CHANGELOG.md 2016-10-06 23:26:11 +01:00
Paul Stack 7bab7f44cb Merge pull request #9228 from alphagov/datadog_dashboard_type_style
Datadog dashboard "type" and "style" options
2016-10-06 23:24:57 +01:00
Paul Stack d788b19035 Merge pull request #9265 from hashicorp/azurerm-sdk-5.0.0-beta
provider/azurerm: Bump SDK version to 5.0.0-beta
2016-10-06 23:12:46 +01:00
Paul Stack 48419882dd Update CHANGELOG.md 2016-10-06 23:12:35 +01:00
Paul Stack f955abde58 Merge pull request #9233 from BedeGaming/azurerm-storage-encryption
provider/azurerm: add enable_blob_encryption to storage_account resource
2016-10-06 23:11:57 +01:00
Peter McAtominey 0cb6e7df8b provider/azurerm: add enable_blob_encryption to storage_account resource
This allows Storage Service Encryption to be enabled.

TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMStorageAccount -timeout 120m
=== RUN   TestAccAzureRMStorageAccount_importBasic
--- PASS: TestAccAzureRMStorageAccount_importBasic (139.00s)
=== RUN   TestAccAzureRMStorageAccount_basic
--- PASS: TestAccAzureRMStorageAccount_basic (151.03s)
=== RUN   TestAccAzureRMStorageAccount_blobEncryption
--- PASS: TestAccAzureRMStorageAccount_blobEncryption (149.94s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/azurerm	440.051s
2016-10-06 22:50:02 +01:00
Paul Stack 6e84502b61 Update CHANGELOG.md 2016-10-06 22:39:53 +01:00
Paul Stack 97ad032474 Merge pull request #8859 from carinadigital/arm-vm-fix
provider/azurerm: Terraform Plan errors when created resources disappear
2016-10-06 22:38:30 +01:00
Paul Stack 4344a9e777 Merge pull request #9266 from deanwilson/bitbucket_doc_typos
Fix typos in the bitbucket_repository example.
2016-10-06 22:11:58 +01:00
Dean Wilson e0b336e359 Fix typos in the bitbucket_repository example. 2016-10-06 22:08:22 +01:00
stack72 8d862dcb95
provider/azurerm: Bump SDK version to 5.0.0-beta 2016-10-06 22:03:28 +01:00
Paul Stack 8a6d3b2f88 Update CHANGELOG.md 2016-10-06 21:54:35 +01:00
Paul Stack e012c4fcc5 Merge pull request #9242 from BedeGaming/azurerm-sb-namespace-keys
provider/azurerm: expose default keys for servicebus_namespace
2016-10-06 21:53:23 +01:00
James Bardin 286fea571f Fix push test to use something that is HCL
Fix the tfvars push test which was mistakingly using a single number to
trigger the HCL behavior.
2016-10-06 16:37:28 -04:00
James Bardin cf1cfccf06 Don't parse a TestFlagTypedKV value as a number
Don't try to parse a varibale as HCL if the value can be parse as a
single number. HCL will always attempt to convert the value to a number,
even if we later find the configured variable's type to be a string.
2016-10-06 16:27:33 -04:00
Paul Stack 141f7dca24 Merge pull request #9260 from cblecker/google-sidebar
Add Google Compute Image docs to sidebar.
2016-10-06 21:20:24 +01:00
Paul Stack 4a9bf1a265 Merge pull request #9261 from hashicorp/bitbucket-documentation
Adding the bitbucket provider to the website sidebar
2016-10-06 21:04:55 +01:00
stack72 62bc112b1b
Adding the bitbucket provider to the website sidebar 2016-10-06 19:25:13 +01:00
clint 3e3854ed65 release: clean up after v0.7.5 2016-10-06 17:57:23 +00:00
clint f7fa785925
v0.7.5 2016-10-06 17:41:22 +00:00
Christoph Blecker 322f95fdfa
Add Google Compute Image docs to sidebar.
Docs were originally added in #7960, but weren't added to the sidebar.
2016-10-06 10:29:12 -07:00
Paul Stack a4aef78ac5 Merge pull request #9205 from kwilczynski/feature/add-ANY-aws_api_gateway_method
provider/aws: Add new "ANY" as valid HTTP method to API Gateway validator.
2016-10-06 16:34:46 +01:00
Krzysztof Wilczynski 1260b3a9b5
Add new "ANY" as valid HTTP method to API Gateway validator.
This commit adds a new HTTP method to a list of valid HTTP methods which
is now accepted by API Gateway.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-10-06 16:11:45 +01:00
Paul Stack f0ee1d5ee1 Merge pull request #9232 from kyxap1/master
Addded docker support to Vagrantfile
2016-10-06 11:33:31 +01:00
Paul Stack 2e229f8b45 Merge pull request #9248 from cblecker/remote-state-docs
Fix documentation for GCS Remote State
2016-10-06 10:24:31 +01:00
Christoph Blecker 3934279339
Documentation formatting fix 2016-10-05 16:09:10 -07:00
Christoph Blecker 4523639614
Remove unneeded output syntax from GCS Remote State 2016-10-05 16:08:54 -07:00
Peter McAtominey f733d6aa8a provider/azurerm: expose default keys for servicebus_namespace
A default authorization rule is created by Azure which, if present is exported by
the resource.

TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMServiceBusNamespace -timeout 120m
=== RUN   TestAccAzureRMServiceBusNamespaceCapacity_validation
--- PASS: TestAccAzureRMServiceBusNamespaceCapacity_validation (0.00s)
=== RUN   TestAccAzureRMServiceBusNamespaceSku_validation
--- PASS: TestAccAzureRMServiceBusNamespaceSku_validation (0.00s)
=== RUN   TestAccAzureRMServiceBusNamespace_basic
--- PASS: TestAccAzureRMServiceBusNamespace_basic (352.03s)
=== RUN   TestAccAzureRMServiceBusNamespace_readDefaultKeys
--- PASS: TestAccAzureRMServiceBusNamespace_readDefaultKeys (349.17s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/azurerm	701.278s
2016-10-05 22:12:28 +01:00
Clint 91160c215b Update CHANGELOG.md 2016-10-05 14:31:16 -05:00
clint shryock dad6face2b re-go-fmt after rebase
use us-west-2 region in tests

update test with working config

provider/aws: Update EMR contribution with passing test, polling for instance in DELETE method

remove defaulted role

document emr_cluster

rename aws_emr -> aws_emr_cluster

update docs for name change

update delete timeout/polling

rename emr taskgroup to emr instance group

default instance group count to 0, down from 60

update to ref emr_cluster, emr_instance_group

more cleanups for instance groups; need to read and update

add read, delete method for instance groups

refactor the read method to seperate out the fetching of the specific group

more refactoring for finding instance groups

update emr instance group docs

err check on reading HTTP. Dont' return the error, just log it

refactor the create method to catch optionals

additional cleanups, added a read method

update test to be non-master-only

wrap up the READ method for clusters

poll for instance group to be running after a modification

patch up a possible deref

provider/aws: EMR cleanups

fix test naming

remove outdated docs

randomize emr_profile names
2016-10-05 14:30:16 -05:00
Brian Chen ad8679e916 basic emr implementation
quick emr resize implementation

ass task group

not force new

add task group

check empty slices

clean up

rename to initial_instance_count

add task instance group as resource

cluster resize core group

clean up

add name option

log info

clean up

change log debug format

clean up

add missing security groups for master and slave

add bootstrap actions

add options for bootstrap action

add tags option

clean up

fix for tags array

support delimiters : =

bootstrap actions fix

add configurations item

load local or remote config

rename function

support multiple bootstrap actions

default value 0 for core group

follow aws api able to create a master only

tags use terraform tag schema

option item for log_uri

ec2_attribute as option

add emr task group accTests

add embedded json config

add embedded json config

add service_role and instance_profile

add partial state support for either the "TERMINATED" or "TERMINATED_WITH_ERRORS" state

not allowing to change name or instance_type for task group

"core_instance_type" change into "Optional" and  "Computed"

apply MaxItems for ec2Attributes

remove all debug "fmt.Println"

clean up debug info and useless variable

Expose visible_to_all_users as an option, default will be true

remove debug info

logging should happen before setId("")

add hanChange checking first

clean up debug log

add some force new

double check the core group existed

add waiting and polling, until cluster up

testcase add EMR cluster id and status checking

clean up using common way to read ec2_attributes
2016-10-05 14:30:16 -05:00
Paul Stack aecb86edad Update CHANGELOG.md 2016-10-05 20:20:25 +01:00
Paul Stack 5192c7d14c Merge pull request #9196 from hashicorp/arm-sql-datawarehouse
provider/azurerm: Support AzureRM Sql Database DataWarehouse
2016-10-05 20:19:17 +01:00
Clint bd9f10e3e7 Update CHANGELOG.md 2016-10-05 13:49:26 -05:00
clint shryock 5b87cd49a9 provider/aws: Update EFS resource to read performance mode and creation_token 2016-10-05 13:48:35 -05:00
Clint a1d944b70b Update CHANGELOG.md 2016-10-05 08:53:59 -05:00
Clint e2c74fce7f Merge pull request #9230 from lifesum/route53_healthcheck
provider/aws - Add update support for `search_string` in aws_cloudwatch_metric_alarm
2016-10-05 08:52:34 -05:00
Alexander Kyxap 3fffa64da2 Addded docker support to Vagrantfile
Added vagrant box with docker support: https://atlas.hashicorp.com/tknerr/boxes/baseimage-ubuntu-14.04
2016-10-05 17:24:37 +04:00
Alexander Hellbom f6c66025cc Add update support for `search_string` 2016-10-05 13:25:00 +02:00
Colin Saliceti b36318f184 Document datadog style and palette options 2016-10-05 09:44:54 +01:00
Colin Saliceti cae5d8bbb9 Add type and styles to datadog timeboard graphs
Create the resources for title and styles and add them to the acceptance
test. Styles currently only support "palette".
2016-10-05 09:44:54 +01:00
Colin Saliceti b53d7a7b49 Use new Datadog GraphDefinitionRequest struct
This new struct avoids requiring to repeat the struct definition in this
code here. It avoids duplication and makes it more flexible so more
options can be added to the struct without breaking the code here.
2016-10-05 09:44:54 +01:00
Colin Saliceti 982a065863 Update go-datadog-api vendored dependency 2016-10-05 09:44:54 +01:00
Paul Stack 4548e2430e Merge pull request #9224 from hashicorp/arm-go-autorest-bump-7.2.1
provider/azurerm: Bump go-autorest to 7.2.1 to fix the issue with VM time parsing
2016-10-05 01:11:24 +01:00
Paul Stack aa4136d0bf Update CHANGELOG.md 2016-10-05 01:04:58 +01:00
Paul Stack aa97ebd0e7 Merge pull request #9220 from AMeng/import-db-event-sub
provider/aws: Import aws_db_event_subscription
2016-10-05 01:03:53 +01:00
stack72 5c8ded6cf1
provider/azurerm: Bump go-autorest to 7.2.1 to fix the issue with VM time parsing 2016-10-05 01:00:48 +01:00
Paul Stack 6ad252e6ab Update CHANGELOG.md 2016-10-05 00:05:44 +01:00