Ninir
99be2d3280
provider/aws: Improved the SNS topic subscription protocols validation
2016-12-13 17:54:52 +01:00
Mathieu Herbert
3239138099
provider/aws: data source for AWS Hosted Zone ( #9766 )
...
* provider/aws: data source for AWS Hosted Zone
* add caller_reference, resource_record_set_count fields, manage private zone and trailing dot
* fix fmt
* update documentation, use string function in hostedZoneNamewq
* add vpc_id support
* add tags support
* add documentation for hosted zone data source tags support
2016-12-13 16:22:26 +00:00
Clint
b2136beff2
Merge pull request #10702 from hashicorp/pr-10694
...
provider/aws: Save `iam_access_key` secret to state if no PGP key given (supersedes #10694 )
2016-12-13 10:11:07 -06:00
clint shryock
72885c6736
provider/aws: Save secret to state in iam_access_key if pgp key not found
2016-12-13 09:32:04 -06:00
Ryan Hoegg
73213793ca
provider/aws: Add aws_eip data source ( #9833 )
...
* provider/aws: Add the aws_eip data source
* Document the aws_eip data source on the website
* provider/aws: support query by public_ip for aws_eip data source
2016-12-13 12:09:21 +00:00
Samuel BERTHE
88faa1bb7f
Improving Rundeck provider: scheduler ( #9449 )
...
* feat(rundeck provider): Scheduling (crontab)
* fix(govendor-upgrade): Rundeck api wrapper
2016-12-13 12:00:53 +00:00
Paul Stack
e558cbddf4
provider/rundeck: Set Computed on rundeck_job preserve_options_order ( #10695 )
...
Before the change, this was the test result:
```
% make testacc TEST=./builtin/providers/rundeck 2 ↵
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/13 11:14:11 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/rundeck -v -timeout 120m
=== RUN TestProvider
--- PASS: TestProvider (0.00s)
=== RUN TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN TestAccJob_basic
--- FAIL: TestAccJob_basic (6.51s)
testing.go:265: Step 0 error: After applying this step, the plan was not empty:
DIFF:
UPDATE: rundeck_job.test
preserve_options_order: "true" => "false"
STATE:
rundeck_job.test:
ID = 1da079e6-31f1-4c77-9cbb-c77c0a16fea5
allow_concurrent_executions = true
command.# = 1
command.0.inline_script =
command.0.job.# = 0
command.0.node_step_plugin.# = 0
command.0.script_file =
command.0.script_file_args =
command.0.shell_command = echo Hello World
command.0.step_plugin.# = 0
command_ordering_strategy = node-first
continue_on_error = false
description = A basic job
group_name =
log_level = INFO
max_thread_count = 1
name = basic-job
node_filter_exclude_precedence = false
node_filter_query = example
option.# = 1
option.0.allow_multiple_values = false
option.0.default_value = bar
option.0.description =
option.0.exposed_to_scripts = false
option.0.multi_value_delimiter =
option.0.name = foo
option.0.obscure_input = false
option.0.require_predefined_choice = false
option.0.required = false
option.0.validation_regex =
option.0.value_choices.# = 0
option.0.value_choices_url =
preserve_options_order = true
project_name = terraform-acc-test-job
rank_attribute =
rank_order = ascending
Dependencies:
rundeck_project.test
rundeck_project.test:
ID = terraform-acc-test-job
default_node_executor_plugin = jsch-ssh
default_node_file_copier_plugin = jsch-scp
description = parent project for job acceptance tests
extra_config.% = 0
name = terraform-acc-test-job
resource_model_source.# = 1
resource_model_source.0.config.% = 2
resource_model_source.0.config.file = /tmp/terraform-acc-tests.xml
resource_model_source.0.config.format = resourcexml
resource_model_source.0.type = file
ssh_authentication_type = privateKey
ssh_key_file_path =
ssh_key_storage_path =
ui_url = http://192.168.50.2:4440/api/18/project/terraform-acc-test-job
=== RUN TestAccPrivateKey_basic
--- PASS: TestAccPrivateKey_basic (7.90s)
=== RUN TestAccProject_basic
--- PASS: TestAccProject_basic (2.21s)
=== RUN TestAccPublicKey_basic
--- PASS: TestAccPublicKey_basic (2.43s)
FAIL
exit status 1
FAIL github.com/hashicorp/terraform/builtin/providers/rundeck 19.067s
make: *** [testacc] Error 1
```
After the change:
```
% make testacc TEST=./builtin/providers/rundeck 2 ↵
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/13 11:35:46 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/rundeck -v -timeout 120m
=== RUN TestProvider
--- PASS: TestProvider (0.00s)
=== RUN TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN TestAccJob_basic
--- PASS: TestAccJob_basic (1.46s)
=== RUN TestAccPrivateKey_basic
--- PASS: TestAccPrivateKey_basic (0.26s)
=== RUN TestAccProject_basic
--- PASS: TestAccProject_basic (0.65s)
=== RUN TestAccPublicKey_basic
--- PASS: TestAccPublicKey_basic (0.59s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/rundeck 2.975s
```
2016-12-13 11:42:26 +00:00
BobVanB
a60a3764f2
provider/rundeck) enable validation for multiple values in an array ( #8913 )
2016-12-13 11:40:31 +00:00
Kit Ewbank
d3633398a7
provider/aws Add aws_vpc_endpoint_service data source ( #10261 )
...
* provider/aws Add aws_vpc_endpoint_services data source.
* Rename 'aws_vpc_endpoint_services' to 'aws_vpc_endpoint_service'.
2016-12-13 10:40:35 +00:00
Kazuma Watanabe
0134315148
enable DeleteOnTermination ( #9922 )
2016-12-13 10:38:05 +00:00
Mickaël Canévet
3ab5c630bd
Don't remove secret, just deprecate it
2016-12-13 11:31:32 +01:00
Paddy
a08d562abf
Merge pull request #10684 from cblecker/gcp-ssl-cert-name-prefix
...
Add support for name_prefix to google_compute_ssl_certificate
2016-12-12 16:40:07 -08:00
Christoph Blecker
fa8921f8f4
Add support for name_prefix to google_compute_ssl_certificate
2016-12-12 15:57:58 -08:00
James Nugent
7cda9e8c74
Merge pull request #10682 from hashicorp/f-fixup-postgresql
...
Various changes to the PostgreSQL provider
2016-12-12 15:22:53 -08:00
Sean Chittenden
ce60c4fede
gofmt cleanup on imports.
2016-12-12 15:21:20 -08:00
Sean Chittenden
2ecd42c0be
Remove non-standard environment variables in prep for 0.8.
2016-12-12 15:21:00 -08:00
Sean Chittenden
6ed37770c3
Add the testing Makefile that I'm using for testing the provider locally.
2016-12-12 14:44:46 -08:00
Sean Chittenden
8c41f0859b
Add the version attribute to postgresql_extension.
2016-12-12 14:37:40 -08:00
Paul Stack
1113ed5fc7
provider/aws: Support MFA delete for s3 bucket versioning ( #10020 )
...
Fixes #7902
```
% make testacc TEST=./builtin/providers/aws
% TESTARGS='-run=TestAccAWSS3Bucket_'
% ✹
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/12 12:11:45 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSS3Bucket_
-timeout 120m
=== RUN TestAccAWSS3Bucket_importBasic
--- PASS: TestAccAWSS3Bucket_importBasic (55.74s)
=== RUN TestAccAWSS3Bucket_importWithPolicy
--- PASS: TestAccAWSS3Bucket_importWithPolicy (63.34s)
=== RUN TestAccAWSS3Bucket_Notification
--- PASS: TestAccAWSS3Bucket_Notification (165.15s)
=== RUN TestAccAWSS3Bucket_NotificationWithoutFilter
--- PASS: TestAccAWSS3Bucket_NotificationWithoutFilter (63.22s)
=== RUN TestAccAWSS3Bucket_basic
--- PASS: TestAccAWSS3Bucket_basic (47.82s)
=== RUN TestAccAWSS3Bucket_region
--- PASS: TestAccAWSS3Bucket_region (18.88s)
=== RUN TestAccAWSS3Bucket_acceleration
--- PASS: TestAccAWSS3Bucket_acceleration (34.56s)
=== RUN TestAccAWSS3Bucket_RequestPayer
--- PASS: TestAccAWSS3Bucket_RequestPayer (90.26s)
=== RUN TestAccAWSS3Bucket_Policy
--- PASS: TestAccAWSS3Bucket_Policy (120.25s)
=== RUN TestAccAWSS3Bucket_UpdateAcl
--- PASS: TestAccAWSS3Bucket_UpdateAcl (87.51s)
=== RUN TestAccAWSS3Bucket_Website_Simple
--- PASS: TestAccAWSS3Bucket_Website_Simple (138.38s)
=== RUN TestAccAWSS3Bucket_WebsiteRedirect
--- PASS: TestAccAWSS3Bucket_WebsiteRedirect (139.44s)
=== RUN TestAccAWSS3Bucket_WebsiteRoutingRules
--- PASS: TestAccAWSS3Bucket_WebsiteRoutingRules (97.82s)
=== RUN TestAccAWSS3Bucket_shouldFailNotFound
--- PASS: TestAccAWSS3Bucket_shouldFailNotFound (26.84s)
=== RUN TestAccAWSS3Bucket_Versioning
--- PASS: TestAccAWSS3Bucket_Versioning (131.89s)
=== RUN TestAccAWSS3Bucket_Cors
--- PASS: TestAccAWSS3Bucket_Cors (92.71s)
=== RUN TestAccAWSS3Bucket_Logging
--- PASS: TestAccAWSS3Bucket_Logging (86.46s)
=== RUN TestAccAWSS3Bucket_Lifecycle
--- PASS: TestAccAWSS3Bucket_Lifecycle (132.70s)
=== RUN TestAccAWSS3Bucket_Replication
--- PASS: TestAccAWSS3Bucket_Replication (122.70s)
=== RUN TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError
--- PASS: TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError (39.04s)
```
2016-12-12 22:34:03 +00:00
Sean Chittenden
a4965c01af
Fix up helpers.
...
Pointed out by: @stack72
2016-12-12 14:30:25 -08:00
Traver Tischio
27d42d1831
provider/fastly add origin shielding ( #10677 )
...
* Add shield to options for fastly backend
* Add shield to acceptance test for fastly
* Update website with shield option
2016-12-12 22:17:35 +00:00
Ninir
16660a4f60
provider/aws: Fixed deletion of aws_api_gateway_base_path_mapping with empty path ( #10177 )
2016-12-12 22:09:25 +00:00
Sean Chittenden
c602f024f4
Fix the remaining `postgresql_extension` unit test.
2016-12-12 13:40:49 -08:00
Sean Chittenden
daa951434f
Teach postgresql_extension about schemas.
2016-12-12 13:15:57 -08:00
Sean Chittenden
d1c9ebb6c2
Add PostgreSQL schema support
2016-12-12 13:11:47 -08:00
James Bardin
5b0bc3b25e
wrong printf verb
2016-12-12 15:03:21 -05:00
Paddy
8d046c766c
Merge pull request #10453 from danawillow/google-ilb
...
providers/google: Add support for Internal Load Balancing
2016-12-12 09:47:20 -08:00
Ninir
fc5b05ebc1
provider/aws: Added SQS FIFO queues ( #10614 )
2016-12-12 17:40:59 +00:00
stack72
3ecdc057b5
provider/digitalocean: Removal of an old test that was causing the CI acceptance tests to hang
2016-12-12 17:11:20 +00:00
Paul Stack
949d18da22
provider/digitalocean: Fix a whitespace issue in DO ssh_key causing test failures ( #10673 )
2016-12-12 16:27:55 +00:00
Len Smith
015e96d0dd
Initial check in for Icinga2 Provider/Resource ( #8306 )
...
* Initial checkin for PR request
* Added an argument to provider to allow control over whether or not TLS Certs will skip verification. Controllable via provider or env variable being set
* Initial check-in to use refactored module
* Checkin of very MVP for creating/deleting host test which works and validates basic host creation and deletion
* Check in with support for creating hosts with variables working
* Checking in work to date
* Remove code that causes travis CI to fail while I debug
* Adjust create to accept multivale
* Back on track. Working basic tests. go-icinga2-api needs more test too
* Squashing
* Back on track. Working basic tests. go-icinga2-api needs more test too
* Check in refactored hostgroup support
* Check in refactored check_command, hosts, and hsotgroup with a few test
* Checking in service code
* Add in dependency for icinga2 provider
* Add documentation. Refactor, fix and extend based on feedback from Hashicorp
* Added checking and validation around invalid URL and unavailable server
2016-12-12 15:28:26 +00:00
Ninir
048a932abd
provider/aws: Added Lambda function guard when needed attributes are not set ( #10663 )
2016-12-12 15:12:56 +00:00
Jan Schumann
a01a93067f
tests for #5907 ( #10669 )
2016-12-12 14:42:04 +00:00
Ninir
3f5e12ff7e
provider/aws: Set the DBName when restoring from a snapshot ( #10664 )
2016-12-12 12:56:56 +00:00
Sean Chittenden
1a93309e50
Expand postgresql_role support to include all known options.
2016-12-12 01:37:00 -08:00
Sean Chittenden
4c6c52ee8d
Nuke some whitespace.
2016-12-12 01:36:14 -08:00
Sean Chittenden
6deb61b0cf
Enable import support for PostgreSQL's extensions.
2016-12-12 01:33:02 -08:00
Sean Chittenden
e36827c5fe
Change the default for `valid_until` to `infinity` to match the default.
2016-12-12 01:18:13 -08:00
Joe Topjian
fd40eb3421
provider/openstack: More Import and Region Fixes ( #10662 )
...
This has a few more import and region fixes from #10509
2016-12-12 09:14:38 +00:00
Sean Chittenden
e9dc92c18d
Change the default for `inherit` from `false` to `true` to match PostgreSQL.
2016-12-12 01:11:07 -08:00
Sean Chittenden
b576a3eda1
Rename variable from `roleSuperUserAttr` to `roleSuperuserAttr`.
2016-12-12 01:07:26 -08:00
Sander van Harmelen
bad3a876ca
provider/cloudstack: add support for multiple NICs with port forwards and set network_domain for networks ( #10638 )
...
* Add support for multiple NICs with port forwards
* Fix issue #9801
2016-12-12 10:06:42 +01:00
Sean Chittenden
15cd542392
Remove a duplicate `connect_timeout` from a rebase+stash.
2016-12-12 00:53:06 -08:00
Rui Gonçalves
5016a56fd4
provider/statuscake: fix StatusCake tests ( #10660 )
...
* Update vendored statuscake SDK
* Set all attributes when upserting statuscake tests
2016-12-11 19:41:49 +00:00
Sean Chittenden
e2448473cb
Clean up the DatabaseCreate call.
2016-12-10 12:32:21 +11:00
Sean Chittenden
db5d7b0438
Style nit
2016-12-10 12:32:21 +11:00
Sean Chittenden
bfc2a2d42f
Commit WIP re: updated postgresql_role provider.
...
*Read() and *Update() still need to be updated.
2016-12-10 12:32:20 +11:00
Sean Chittenden
2e529146a5
Remove unused code.
2016-12-10 12:32:20 +11:00
Sean Chittenden
6b540ecb55
Don't use d.GetOk() when the zero value is a required attribute.
...
Add "pathological" test.
2016-12-10 12:32:20 +11:00
Sean Chittenden
37fdc958b3
Always remove the IS_TEMPLATE attribute before dropping a database.
2016-12-10 12:32:20 +11:00
Sean Chittenden
e9b2b38288
Remove SetId() call from *Read(), this isn't required for import to work.
2016-12-10 12:32:20 +11:00
Sean Chittenden
f253fc9eff
Commit miss earlier, fix syntax from unstaged commit.
2016-12-10 12:32:20 +11:00
Sean Chittenden
5280c37bea
`postgresql_database` resource provider should now be feature complete.
...
* Add support to import databases. See docs.
* Add support for renaming databases
* Add support for all known PostgreSQL database attributes, including:
* "allow_connections"
* "lc_ctype"
* "lc_collate"
* "connection_limit"
* "encoding"
* "is_template"
* "owner"
* "tablespace_name"
* "template"
2016-12-10 12:32:20 +11:00
Sean Chittenden
59f4ad6fd1
Alpha sort the resources in the PostgreSQL map.
2016-12-10 12:32:19 +11:00
Sean Chittenden
300ef2bc97
Add `connect_timeout` support to the PostgreSQL provider.
2016-12-10 12:32:19 +11:00
Sean Chittenden
3750bf7af2
Depreciate the PostgreSQL provider's `ssl_mode` option in favor of `sslmode`.
...
Both libpq(3) and github.com/lib/pq both use `sslmode`. Prefer this vs
the non-standard `ssl_mode`. `ssl_mode` is supported for compatibility
but should be removed in the future.
Changelog: yes
2016-12-10 12:32:19 +11:00
Sean Chittenden
a200899d93
Allow the PostgreSQL provider to talk to a non-default database.
2016-12-10 12:32:19 +11:00
Sean Chittenden
602a908d7b
Add a `fallback_application_name` to the PostgreSQL DSN.
2016-12-10 12:32:19 +11:00
Sean Chittenden
44d907a3de
Revert "Prefer PGHOSTADDR over PGHOST, if set." lib/pq doesn't support PGHOSTADDR.
...
d8eeeb8bae/conn.go (L1851)
This reverts commit 26a2a974f2b2f2cefd41b426b8469fa3ea72b33e.
2016-12-10 12:32:19 +11:00
Sean Chittenden
55061d190a
Prefer PGHOSTADDR over PGHOST, if set.
2016-12-10 12:32:19 +11:00
Sean Chittenden
3779dfffa9
Use a string instead of the `%t` modifier for printing a bool in SQL
2016-12-10 12:32:19 +11:00
Sean Chittenden
5b66bf0745
ForceNew is required when changing the locale, ctype, and encoding.
...
This will cause someone some grief. TODO: Figure out how to prevent
someone from blowing off their foot if they twiddle this after the
fact.
2016-12-10 12:32:18 +11:00
Sean Chittenden
547dcf27e1
Decorate the computed attribute where appropriate
2016-12-10 12:32:18 +11:00
Sean Chittenden
242405bdf1
Factor out the validate function for connection limits
2016-12-10 12:32:18 +11:00
Sean Chittenden
02dea2edd9
Add missing descriptions to owner and name
2016-12-10 12:32:18 +11:00
Sean Chittenden
deb91f61ce
Update the descriptions to mostly match the official PostgreSQL docs.
2016-12-10 12:32:18 +11:00
Sean Chittenden
68cadd3c2a
Update the FIXME/TODO style to match Google style guides
2016-12-10 12:32:18 +11:00
Sean Chittenden
f3add9e7ef
Flesh out the CREATE DATABASE for PostgreSQL.
2016-12-10 12:32:18 +11:00
Sean Chittenden
2aee081e4b
Eh, specify default values lib/pq zero initializes itself
2016-12-10 12:32:17 +11:00
Sean Chittenden
7e5ccc089b
Spell `ssl_mode` like `sslmode`
2016-12-10 12:32:17 +11:00
Sean Chittenden
655617ed6a
Remove the PGPASSWORD requirement for tests.
...
If they're required and the value is missing, the test will fail. There's
no need to enforce that in the test itself.
2016-12-10 12:32:17 +11:00
Sean Chittenden
ec130d538c
Add comments requesting that the testing-specific environment variables
...
can be removed in Terraform 0.8.0
2016-12-10 12:32:17 +11:00
Sean Chittenden
b68ef2c40b
Fall through to using the defaults from github.com/lib/pq
2016-12-10 12:32:17 +11:00
Sean Chittenden
f31ebff10e
Change the PostgreSQL PGSSLMODE option to sslmode to match PostgreSQL idioms.
...
Also don't specify the default and rely on github.com/lib/pq (which uses "required"
and is different than what libpq(3) uses, which is "preferred" and unsupported by
github.com/lib/pq).
2016-12-10 12:32:17 +11:00
Paul Stack
c69e325a1a
provider/aws: Add support for AWS Lightsail Domain ( #10637 )
...
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSLightsailDomain_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/09 15:19:58 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v
-run=TestAccAWSLightsailDomain_ -timeout 120m
=== RUN TestAccAWSLightsailDomain_basic
--- PASS: TestAccAWSLightsailDomain_basic (16.28s)
=== RUN TestAccAWSLightsailDomain_disappears
--- PASS: TestAccAWSLightsailDomain_disappears (12.71s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws29.015s
```
2016-12-09 17:56:48 +00:00
Clint
e705cd9a93
Merge pull request #10635 from dougneal/import_vpc_peerconn_accepter_fix
...
provider/aws: aws_vpc_peering_connection: import fix
2016-12-09 11:50:55 -06:00
Tom Wilkie
dd39296d6c
Allow import of aws_security_groups with more than one source_security_group_id rule ( #9477 )
...
* Allow import of aws_security_groups with more than one source_security_group_id rule
* Add acceptable test for security group with multiple source rules.
2016-12-09 15:50:51 +00:00
Clint
5f765d9de6
Merge pull request #10624 from hashicorp/pr-9891
...
provider/aws: Add aws_snapshot_create_volume_permission resource (contd. #9891 )
2016-12-09 08:43:18 -06:00
Clint
0766074289
Merge pull request #10583 from hashicorp/f-lightsail-key-pair
...
provider/aws: Add Lightsail Key Pair resource
2016-12-09 08:26:00 -06:00
Doug Neal
24baa38408
provider/aws: aws_vpc_peering_connection: import fix
...
When importing an `aws_vpc_peering_connection`, the code assumes that
the account under Terraform control is the initiator (requester) of the
VPC peering request. This holds true when the peering connection is
between two VPCs in the same account, or when the peering connection has
been initiated from the controlled account to another.
However, when the peering connection has been initiated from a foreign
account towards the account under management, importing the peering
connection into the statefile results in values of `peer_vpc_id` and
`vpc_id` being the opposite way round to what they should be, and in the
`peer_owner_id` being set to the managed account's ID rather than the
foreign account's ID.
This patch checks the Accepter and Requester Owner IDs against the AWS
connection's reported owner ID, and reverses the mapping if it is
determined that the VPC peering connection is owned by the foreign
account.
2016-12-09 12:05:06 +00:00
Peter McAtominey
6f21b78710
provider/azurerm: fix virtual_machine reading plan as the wrong type ( #10626 )
...
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMVirtualMachine_plan -timeout 120m
=== RUN TestAccAzureRMVirtualMachine_plan
--- PASS: TestAccAzureRMVirtualMachine_plan (798.75s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 798.835s
2016-12-09 10:41:45 +01:00
Eddy Hernandez
7e737dac62
Add support for AWS CA Central 1 Region ( #10618 )
...
* Add support for AWS CA Central 1 Region
* additional metadata for ca-central-1
* add elb metadata for ca-central-1
2016-12-09 10:35:07 +01:00
Dana Hoffman
2ad3042877
fix tests
2016-12-08 19:59:03 -08:00
clint shryock
42057045ff
refactor the test to use caller_identity data source, and new ebs_snapshot resource
2016-12-08 16:43:03 -06:00
Jeremy Asher
185ee439da
add wait after AWS snapshot attr modification
...
This adds up to a 5 minute wait after issuing an add or remove request
to adjust a snapshot's createVolumePermission attribute.
2016-12-08 16:12:25 -06:00
Jeremy Asher
f20d1c3caa
WIP aws_snapshot_create_volume_permission tests
2016-12-08 16:12:24 -06:00
Jeremy Asher
7216185f0d
implement aws_snapshot_create_volume_permission
...
This adds the new resource aws_snapshot_create_volume_permission which
manages the createVolumePermission attribute of snapshots. This allows
granting an AWS account permissions to create a volume from a particular
snapshot. This is often required to allow another account to copy a
private AMI.
2016-12-08 16:12:23 -06:00
Dana Hoffman
985b4e2b66
use conflictswith for health check instead of separate type field
2016-12-08 13:35:57 -08:00
clint shryock
97ac4bde16
implement name_prefix
2016-12-08 14:08:45 -06:00
Dana Hoffman
35664ff0e1
log id of health check that still exists on destroy
2016-12-08 10:40:09 -08:00
clint shryock
1e8e83fa6a
provider/aws: Encrypt aws_iam_access_key.secret with pgp
...
optionally encrypt the iam access key secret with a pgp key
2016-12-08 11:08:05 -06:00
Peter McAtominey
56344eb98d
provider/azurerm: fix servicebus_topic max_size_in_megabytes for premium namespaces ( #10611 )
...
The value is only multiplied by the API for topics in non-premium namespaces
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMServiceBusTopic_enablePartitioning -timeout 120m
=== RUN TestAccAzureRMServiceBusTopic_enablePartitioningStandard
--- PASS: TestAccAzureRMServiceBusTopic_enablePartitioningStandard (378.80s)
=== RUN TestAccAzureRMServiceBusTopic_enablePartitioningPremium
--- PASS: TestAccAzureRMServiceBusTopic_enablePartitioningPremium (655.00s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 1033.874s
2016-12-08 17:06:27 +01:00
Doug Neal
195b041cd5
Validate `effect` in aws_iam_policy_document data source ( #10608 )
...
AWS allows only the case-sensitive strings `Allow` and `Deny` to appear
in the `Effect` fields of IAM policy documents. Catch deviations from
this, including mis-casing, before hitting the API and generating an
error (the error is a generic 400 and doesn't indicate what part of the
policy doc is invalid).
2016-12-08 16:16:40 +01:00
Ninir
29f8af16a1
provider/aws: Added S3 Bucket replication ( #10552 )
2016-12-08 11:59:13 +01:00
Otto Jongerius
10d68d90dd
provider/datadog 9869: Validate credentials when initialising client. ( #10567 )
...
* provider/datadog 9869: Validate credentials when initialising client.
* provider/datadog Pull in new version of go-datadog-api.
* provider/datadog Update testAccCheckDatadogMonitorConfigNoThresholds test config.
2016-12-08 11:17:42 +01:00
Timon Wong
80afc6759b
provider/aws: Add "no_device" support to ephemeral block devices ( #10547 )
...
Fixes #8455 , #5390
This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
2016-12-08 11:03:51 +01:00
Ninir
5e3477664d
provider/aws: Forces the api gateway domain name certificates to recreate the resource ( #10588 )
2016-12-07 22:51:44 +01:00
Ninir
4b25837dd0
provider/aws: FIxed the api_gw_domain_name replace operation ( #10179 )
2016-12-07 21:47:20 +01:00
clint shryock
86bb969087
provider/aws: add aws_lightsail_key_pair
2016-12-07 11:13:47 -06:00
Andras Ferencz-Szabo
53ebbed8df
Service role is not updated on AWS for a CodeDeploy deployment group ( #9866 )
...
Service role is not updated on AWS for a CodeDeploy deployment group
2016-12-07 13:34:58 +01:00