James Bardin
4896052736
Merge pull request #23582 from hashicorp/jbardin/state-mv
...
Allow moving instances to new resources
2019-12-05 18:06:04 -05:00
Martin Atkins
73958499d1
Update CHANGELOG.md
2019-12-05 15:02:43 -08:00
Aaron Heesakkers
3dfeb67708
command/internal-plugin: Strip off TF_CLI_ARGS arguments
...
These are not meaningful for the `internal-plugin` subcommand, which is for internal use only.
2019-12-05 15:00:51 -08:00
James Bardin
a5cb36b34c
Allow moving instances to new resources
...
If a state mv target happens to be a resource that doesn't exist, allow
the creation of the new resource inferring the EachMode from the target
address.
2019-12-05 17:38:52 -05:00
Pam Selle
2b8e876bdb
Don't inspect an empty set, return false
2019-12-05 16:00:19 -05:00
Michele
7f738d3aff
Add notarization details to changelog
2019-12-05 08:52:13 -08:00
Pam Selle
ba9cb786c3
Merge pull request #23546 from tmshn/dry-plan-color
...
make plan-diff format a bit more dry
2019-12-04 17:24:27 -05:00
Pam Selle
225e2ddc13
Update CHANGELOG.md
2019-12-04 17:02:35 -05:00
Pam Selle
89b1a0107c
Merge pull request #23561 from hashicorp/pselle/setMetaCleanup1
...
Update comment in SetResourceInstanceCurrent
2019-12-04 17:00:53 -05:00
Pam Selle
e4d2469698
Update comment
2019-12-04 12:08:34 -05:00
Pam Selle
2a2201cc74
Merge pull request #23475 from hashicorp/pselle/setMetaCleanup
...
Cleanup SetResourceInstanceCurrent to be clearer and more reliable
2019-12-04 12:04:12 -05:00
Kristin Laemmert
9891d0354a
providers: use addrs.Provider as map keys for provider.Factory ( #23548 )
...
* terraform/context: use new addrs.Provider as map key in provider factories
* added NewLegacyProviderType and LegacyString funcs to make it explicit that these are temporary placeholders
This PR introduces a new concept, provider fully-qualified name (FQN), encapsulated by the `addrs.Provider` struct.
2019-12-04 11:30:20 -05:00
James Bardin
8547603ff5
deprecation warning for destroy provisioner refs
...
Add deprecation warning for references from destroy provisioners or
their connections to external resources or values. In order to ensure
resource destruction can be completed correctly, destroy nodes must be
able to evaluate with only their instance state.
We have sufficient information to validate destroy-time provisioners
early on during the config loading process. Later on these can be
converted to hard errors, and only allow self, count.index, and each.key
in destroy provisioners. Limited the provisioner and block evaluation
scope later on is tricky, but if the references can never be loaded,
then they will never be encountered during evaluation.
2019-12-04 11:14:37 -05:00
Kyle MacDonald
26131d948c
website: add yt video to /intro
2019-12-03 15:14:59 -08:00
Pam Selle
c5e6d36ace
Revert "Confirmed these two tests are fine behavior manually running test case"
...
This reverts commit e8aa5bfdc9
.
2019-12-03 16:52:29 -05:00
Pam Selle
de953eca6f
Fixup for allowing empty lists/sets of resources
2019-12-03 16:29:01 -05:00
Pam Selle
19b408e053
Only need this one call, don't call the meta func
2019-12-03 14:27:18 -05:00
Pam Selle
61ce1cb3ad
Fix provider related tests
2019-12-03 14:27:18 -05:00
Pam Selle
e8aa5bfdc9
Confirmed these two tests are fine behavior manually running test case
2019-12-03 14:27:18 -05:00
Pam Selle
01da7b4f7f
Tested and confirmed we cannot delete this, so removed TODO
2019-12-03 14:27:18 -05:00
Pam Selle
87fdcd0064
Add a new method cause doing things in module is weird
2019-12-03 14:27:18 -05:00
Pam Selle
3b4382082d
More comments and names
2019-12-03 14:27:18 -05:00
Pam Selle
fd34def9dc
More comment updates, a lil refactor
2019-12-03 14:27:18 -05:00
Pam Selle
ca9da51516
Cleanup
2019-12-03 14:27:18 -05:00
Pam Selle
9482bb8eb0
Comment cleanup
2019-12-03 14:27:18 -05:00
Pam Selle
d144b83d50
This works, with lots of noise
2019-12-03 14:27:18 -05:00
Pam Selle
8cd4bd545c
Delete dead code
2019-12-03 14:27:18 -05:00
James Bardin
07edc211eb
Merge pull request #23550 from hashicorp/jbardin/get_resource_panic
...
check for missing Current instance in EachMap
2019-12-03 12:40:42 -05:00
James Bardin
bff675e0c3
check for missing Current instance in EachMap
...
NoEach and Each list both have this check, but it was missing in
EachMap. Refactor the EachList check to remove a level of indentation,
and make the check consistently near the start of the block.
2019-12-03 11:16:42 -05:00
tmshn
fcc1a76d5e
make plan-diff format a bit more dry
2019-12-03 19:02:59 +09:00
Daniel Dreier
4e5a18c621
Merge pull request #23530 from hashicorp/issue-tpl-sec-vuln
...
github: Make link to vulnerability reports more visible
2019-12-02 14:00:14 -08:00
Chris Griggs
bbd6bf334c
Merge pull request #23509 from hashicorp/cgriggs01-website-update
...
[Website] move provider link page
2019-12-02 13:47:38 -08:00
Kristin Laemmert
6728e521c1
addrs: rename Provider Name to more accurate Provider Type ( #23449 )
2019-12-02 15:32:31 -05:00
tf-release-bot
d30b99d9bf
Cleanup after v0.12.17 release
2019-12-02 18:31:04 +00:00
tf-release-bot
f0ae01e605
v0.12.17
2019-12-02 18:19:08 +00:00
Martin Atkins
180e233ec1
Update CHANGELOG.md
2019-12-02 10:10:13 -08:00
Martin Atkins
6db3cf8e5b
vendor: upgrade Azure SDK and Azure/go-autorest
...
This involves some minor changes to the "azure" backend code to account
for upstream breaking changes.
2019-12-02 10:04:49 -08:00
Radek Simko
5b5efa2c7e
Update .github/SECURITY.md
...
Co-Authored-By: Kristin Laemmert <mildwonkey@users.noreply.github.com>
2019-12-02 13:07:02 +00:00
Radek Simko
b4a22aa0e9
Make link to vulnerability reports more visible
2019-11-29 15:53:07 +00:00
cgriggs01
650250c471
move provider link page
2019-11-26 17:28:21 -08:00
Graham Davison
e32641c9ce
website/docs: Corrects function name in `cidrsubnets` function documentation ( #23473 )
2019-11-26 07:50:32 -05:00
Kristin Laemmert
4409cc04f5
Update CHANGELOG.md
2019-11-25 15:04:06 -05:00
Kristin Laemmert
99225b8d76
command/jsonstate,plan: fix panic with null values ( #23492 )
...
The code responsible for marshalling attribute values was checking for
nil values, but not null.
Fixes #23485 , #23274
2019-11-25 15:01:38 -05:00
Radek Simko
211cf08b38
Update config.yml
2019-11-25 13:46:07 +00:00
Radek Simko
3db7ea2d89
Merge pull request #23225 from hashicorp/add-issue-template-cfg
...
github: Add issue templates config
2019-11-25 13:44:39 +00:00
Radek Simko
438279c520
github: Add issue templates config
2019-11-25 13:02:24 +00:00
James Bardin
88a806cc32
Merge pull request #23450 from hashicorp/jbarin/err-diags
...
fix diagnostics handling
2019-11-22 15:02:50 -05:00
Chris Griggs
d5602cc839
Merge pull request #23460 from hashicorp/cgriggs01-community
...
[Website] Community providers
2019-11-22 08:24:08 -08:00
cgriggs01
1c9ed3927a
add commmunity providers
2019-11-21 16:48:36 -08:00
Chris Griggs
7ef92417d1
Merge pull request #23456 from hashicorp/cgriggs01-opennebula
...
[Website] OpenNebula provider links
2019-11-21 10:42:08 -08:00