Commit Graph

10603 Commits

Author SHA1 Message Date
Sander van Harmelen d97b24e3c1
Add tests and fix last issues 2016-05-26 19:56:03 -05:00
Sander van Harmelen 8560f50cbc
Change taint behaviour to act as a normal resource
This means it’s shown correctly in a plan and takes into account any
actions that are dependant on the tainted resource and, vice verse, any
actions that the tainted resource depends on.

So this changes the behaviour from saying this resource is tainted so
just forget about it and make sure it gets deleted in the background,
to saying I want that resource to be recreated (taking into account the
existing resource and it’s place in the graph).
2016-05-26 19:55:26 -05:00
Clint 3355c1528d provider/aws: Fix typo in ELB import test (#6886) 2016-05-26 03:38:39 -05:00
clint shryock 6f04c36a1a provider/aws: Ranomize LB names so tests can run at the same time 2016-05-26 03:37:54 -05:00
Clint a8de40090a Update aws.erb
fix missing `>`
2016-05-25 11:48:40 -05:00
Clint dfd4885c7b Update CHANGELOG.md 2016-05-25 11:05:15 -05:00
Clint 983b6710a5 provider/aws: Add per user, role and group policy attachment (supersedes #5816) (#6858)
* Add per user, role and group policy attachment

* Add docs for new IAM policy attachment resources.

* Make policy attachment resources manage only 1 entity<->policy attachment

* provider/aws: Tidy up IAM Group/User/Role attachments
2016-05-25 11:03:43 -05:00
Clint 03ad32860a Update CHANGELOG.md 2016-05-25 11:00:08 -05:00
David Glasser b3425447e5 provider/aws: fix aws_security_group_rule refresh (#6730)
When two rules differ only in source security group, EC2 APIs return
them as a single rule, but Terraform requires separate
aws_security_group_rule resources.

6bdab07174 changed Read to set source_security_group_id (and
cidr_blocks) from the rule returned from EC2 and chose the first
source_security_group_id arbitrarily, which is wrong.

Makes TestAccAWSSecurityGroupRule_PartialMatching_Source pass again.

Also adds a comment noting that there is a bug in the new resource
importing feature.

Fixes #6728.
2016-05-25 10:59:41 -05:00
amangoel f891ab81f4 Update variables.html.md (#6869) 2016-05-25 16:38:32 +01:00
Paul Stack 8cc00d6848 Update CHANGELOG.md 2016-05-25 11:24:42 +01:00
Joe Topjian 9f53f77ad9 provider/openstack: Ensure CIDRs Are Lower Case (#6864)
This commit ensures that CIDR arguments are converted into lower
case values, specifically for IPv6 addresses.
2016-05-25 11:24:07 +01:00
Paul Stack 00e6e0e6df Update CHANGELOG.md 2016-05-25 11:21:56 +01:00
dkalleg a47ad103e2 Adding volume resource creation to vSphere provider (#6273)
Allows the user to create a vmdk in vSphere to the given path. In the
future this could support updates for rename and move.
2016-05-25 11:21:16 +01:00
Joe Topjian 322c885ea6 Update CHANGELOG.md 2016-05-24 20:05:41 -06:00
Joe Topjian f3eae849da Merge pull request #6454 from cristicalin/neutron_floatingip_tenant_id
provider/openstack allow floating ip to target a specific tenant
2016-05-24 20:04:24 -06:00
Paul Hinze 05b9f6768c Update CHANGELOG.md 2016-05-24 18:35:08 -05:00
Paul Hinze f570d13a08 Merge pull request #6811 from hashicorp/f-no-plan-state-persist
core: Do not persist state after plans
2016-05-24 18:25:44 -05:00
Paul Hinze aee1520ac5
core: Make refresh message explicitly point out lack of state persist
Helps make clear to users that refresh only occurs in-memory during plan

per @jen20's recommendation
2016-05-24 18:07:56 -05:00
Paul Stack 38c69b70d6 Update CHANGELOG.md 2016-05-24 23:02:11 +01:00
Paul Stack 1d6493f721 provider/azurerm: Remove storage containers and blobs when storage (#6855)
accounts are not found
2016-05-24 23:01:26 +01:00
Paul Hinze 78bbeb91c2 Update CHANGELOG.md 2016-05-24 16:47:40 -05:00
Paul Stack 910482d6bb Update CHANGELOG.md 2016-05-24 22:45:23 +01:00
Paul Stack ce4841e6a6 provider/aws: Add support to `aws_redshift_cluster` for ``iam_roles`` (#6647) 2016-05-24 22:44:46 +01:00
Paul Stack 33a72099de Update CHANGELOG.md 2016-05-24 22:31:04 +01:00
Paul Stack d997b3fb5e provider/azurerm: Add support for storage container name validation (#6852) 2016-05-24 22:30:27 +01:00
James Nugent e0d13f82d2 Merge pull request #6805 from hashicorp/ds-availability-zone
provider/aws: Add aws_availability_zones source
2016-05-24 16:12:46 -05:00
Paul Hinze 5d945944a8 Merge pull request #6856 from hashicorp/revert-6848-mb-use-stderr-for-warnings
Revert "core: Keep errors/warning out of stdout for ease of automation"
2016-05-24 16:03:05 -05:00
Paul Hinze 0d4c05f1e2 Revert "core: Keep errors/warning out of stdout for ease of automation" 2016-05-24 15:59:44 -05:00
James Nugent 1ea727eb13 provider/aws: Add aws_availability_zones source
This commit adds a data source with a single list, `instance` for the
schema which gets populated with the availability zones to which an
account has access.
2016-05-24 15:42:45 -05:00
James Nugent 7a5641b894 Merge pull request #6854 from mootpt/doc-fix-artifacts
Update artifact.html.markdown
2016-05-24 14:39:37 -05:00
Jay Wallace 5f1f1c1362 Update artifact.html.markdown 2016-05-24 11:30:51 -07:00
Paul Stack bceef14439 Update CHANGELOG.md 2016-05-24 18:44:21 +01:00
Paul Stack 1df8290134 provider/aws: Support tags for AWS redshift cluster (#5356) 2016-05-24 18:43:12 +01:00
Clint ca48196f5f Update CHANGELOG.md 2016-05-24 10:38:53 -05:00
Clint 171c1e39d2 provider/aws: SQS use raw policy string if compact fails (#6724) 2016-05-24 10:38:32 -05:00
Paul Hinze a5d8ddc595 Update CHANGELOG.md 2016-05-24 09:28:07 -05:00
Paul Hinze 49bc058516 Update CHANGELOG.md 2016-05-24 09:19:54 -05:00
James Bardin 3f7197622a Merge pull request #6833 from hashicorp/jbardin/fix-interpolation
Interpolate variable during Input and Validate
2016-05-24 10:19:19 -04:00
Paul Hinze 14f64113b8 Merge pull request #6848 from Originate/mb-use-stderr-for-warnings
core: Keep errors/warning out of stdout for ease of automation
2016-05-24 09:17:23 -05:00
Cristian Calin d2b33d51b8 provider/openstack allow specifying tenant_id on a floatingip resource
Allow a cloud admin to target a specific tenant in which to allocate
a floating IP. This is useful when the cloud admin does not want to
delegate network privileges to the tenants or various Q&A scenarios.
2016-05-24 16:31:09 +03:00
Maxime Bury 56ec9b3354 Keep errors/warning out of stdout for ease of automation 2016-05-24 14:59:51 +02:00
James Nugent a764238d7d Merge pull request #6842 from hashicorp/b-google-acctest-TestAccStorageForceDestroy
provider/google: Provide valid config in acctest
2016-05-23 17:37:25 -05:00
Paul Hinze ae73aa2fb4
core: Do not persist state after plans
This makes the behavior of plans much more predictable, as they no
longer potentially have side effects on shared remote state.
2016-05-23 17:28:40 -05:00
James Nugent ce729c1a82 provider/google: Provide valid config in acctest
The changes to allow for testing ID-only refresh conflict with passing
in "" as Config for tests. In this case we instead construct a config
with a known-non-existent bucket name.
2016-05-23 17:20:19 -05:00
Paul Stack 18746ff733 Update CHANGELOG.md 2016-05-23 22:39:23 +01:00
dkalleg a6a6352759 vSphere virtual machine update disk (#6619)
Changed schema type for disks to support dynamic non-ordered disk
swapping.  All Disk attributes have been made non ForceNew since
any changes should be handled in the upgrade() function.
Added 'name' attribute to disks to act as a unique
identifier for when users request for new disks. It is also used as
the filename for the new disk. Templates are considered immutable.
2016-05-23 22:37:06 +01:00
James Nugent 7c31820ab3 Merge pull request #6818 from hashicorp/b-data-source-acctest
helper/resource: ignore data resource diffs during destroy
2016-05-23 16:24:12 -05:00
Joe Topjian d769eac13f Update CHANGELOG.md 2016-05-23 15:20:04 -06:00
Joe Topjian f674179109 Merge pull request #6693 from jtopjian/openstack-blockstorage-v2
provider/openstack: openstack_blockstorage_volume_v2 resource
2016-05-23 15:18:23 -06:00