Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.24.0
->0.24.1
0.28.18
->0.31.3
1.0.1
->1.0.4
Release Notes
cloudposse/terraform-null-label
v0.24.1
Compare Source
Allow control of letter case of outputs @SweetOps (#107)
You now have control over the letter case of generated tag names and supplied labels, which means you also have control over the letter case of the ultimate
id
.Labels are the elements you can include in
label_order
, namelynamespace
,environment
,stage
,name
, andattributes
. For every non-empty label, a corresponding tag name is generated. Fornamespace
,environment
,stage
, the output is the formatted, normalized input. (By "normalized" we mean that it goes throughregex_replace_chars
.), Forattributes
, which is a list, each element is normalized, duplicates are removed, and the resulting list is converted to a string by joining the elements with thedelimiter
(defaults to hyphen). Forname
, which is special, the output is the same asid
, which is the joining of the labels in the order specified bylabel_order
and separated bydelimiter
.label_key_case
to one ofupper
,lower
, ortitle
, which will result in generatedtag
names in the corresponding case:NAME
,name
, orName
. For backwards compatibility,title
is the defaultlabel_value_case
to one ofupper
,lower
,title
, ornone
, which will result in output label values in the corresponding case (withnone
meaning no case conversion of any kind will be done, though the labels will still be subject toregex_replace_chars
). The case converted labels will show up not just in the module output of the labels themselves, but also in thetag
values and in theid
string.You can look at the test cases in
examples/complete
and the expected results intest/src/examples_complete_test.go
to see examples of how this is supposed to work.One interesting example is that you can create
id
s in Pascal case by settinglabel_value_case = "title"
anddelimiter = ""
.Include updates to exports/context.tf @Nuru (#122 and #123)
#### what - Include updates to `exports/context.tf` - Update README with features and compatibilty - Add validation for `id_length_limit` #### why - The `exports/context.tf` is what gets distributed and needs to be in sync - Replace outdated information - Was not validated earlier because validators are not supported in TF 0.12 but now we are dropping support for TF 0.12 and so we can add validatorsRestore backward compatibility with v0.22.1 and earlier @Nuru (#121)
#### what - Restore backward compatibility with v0.22.1 and earlier - Allow setting of `label_key_case` and `label_value_case` by vars, not just by context attributes. #### why - Allow interoperability of old and new modules - Normally, root modules make settings via individual variables, not by setting an entire context block.Incorporates and closes #120
gruntwork-io/terragrunt
v0.31.3
Compare Source
Updated CLI args, config attributes and blocks
include
[block]Description
deep
merge strategy forinclude
. Refer to the updated documentation for more information on what deep merge means.Related links
v0.31.2
Compare Source
Updated CLI args, config attributes and blocks
include
[block]Description
include
:merge_strategy
.merge_strategy
indicates how the included parent config should be merged with the child config. Currently, this only supportsno_merge
andshallow
. When omitted, the merge strategy defaults toshallow
(the same strategy as previous versions).Related links
v0.31.1
Compare Source
Updated CLI args, config attributes and blocks
Description
terraform
. Nowterragrunt
will check all the args and determine if an arg is a plan file (a filename that exists on disk and ends with extensiontfplan
), and if it is, feed it to the end of the args list.Special thanks
Related links
v0.31.0
Compare Source
Description
Related links
gruntwork-io/terragrunt#1726
v0.30.7
Compare Source
Updated CLI args, config attributes and blocks
include
[block]Description
Fix bug where using an exposed
include
withlocal
in the same expression did not work when referencing inlocals
blocks.Related links
gruntwork-io/terragrunt#1727
gruntwork-io/terragrunt#1728
v0.30.6
Compare Source
Updated CLI args, config attributes and blocks
remote_state
[block]Description
remote_state
block handles the AWS partition settings so that it works correctly with GovCloud.Special thanks
Related links
v0.30.5
Compare Source
Updated CLI args, config attributes and blocks
include
[block]Description
Fix bug where exposing
include
did not work when referencing inlocals
blocks.Related links
gruntwork-io/terragrunt#1721
gruntwork-io/terragrunt#1723
v0.30.4
Compare Source
Updated CLI args, config attributes and blocks
include
[block]Description
You can now access values from included config. E.g., if you want to access a local var
region
defined in the parent terragrunt config, you can referenceinclude.locals.region
in the child config.Note that there are a few limitations/differences with
read_terragrunt_config
:include
references do not include fetched dependencies. This will change in the future.include
references are not automatically available. You must set the newexpose
attribute totrue
to access the included references.include
block in the child, and you can onlyinclude
one level deep (no nestedinclude
s). This will change in the future.(This is the first of several features that implement the Imports RFC)
Related links
gruntwork-io/terragrunt#1566
gruntwork-io/terragrunt#1716
v0.30.3
Compare Source
Updated CLI args, config attributes and blocks
run-all
[command]Description
Improved error messaging when multiple errors are returned.
Special thanks
Special thanks to @derom for their contribution!
Related links
gruntwork-io/terragrunt#1703
v0.30.2
Compare Source
Updated CLI args, config attributes and blocks
aws-provider-patch
(command)Description
Improve error messages in
aws-provider-patch
when the json input is malformed.Related links
gruntwork-io/terragrunt#1715
v0.30.1
Compare Source
Updated CLI args, config attributes and blocks
hclfmt
(command)Description
Updated documentation and help text in
hclfmt
command to clarify that it works on all files withhcl
extension, not justterragrunt.hcl
.Special thanks
Special thanks to @edgarsandi for their contribution!
Related links
gruntwork-io/terragrunt#1713
v0.30.0
Compare Source
Updated CLI args, config attributes and blocks
aws-provider-patch
(command)Description
aws-provider-patch
now supports additional data types. Previouslyaws-provider-patch
only supported patching strings, which made it impossible to patch provider attributes that are not strings (e.g., theallowed_account_ids
attribute of theaws
provider, which islist(string)
type).Note that to support this, the
aws-provider-patch
now expects attribute values to be json encoded when passed in. That means that you need to quote the values in order for it to work. For example, if you previously ran:you need to update the call to:
Related links
gruntwork-io/terragrunt#1714
gruntwork-io/terragrunt#1709
v0.29.10
Compare Source
Updated CLI args, config attributes and blocks
yamldecode
(helper function)Description
Fix bug where
yamldecode
is unable decode certain forms of yaml.Special thanks
Special thanks to @andreykaipov for the contribution!
Related links
gruntwork-io/terragrunt#1706
v0.29.9
Compare Source
Updated CLI args, config attributes and blocks
--terragrunt-include-external-dependencies
Description
You can now configure the
--terragrunt-include-external-dependencies
setting via the environment variableTERRAGRUNT_INCLUDE_EXTERNAL_DEPENDENCIES
.Special thanks
Special thanks to @elebertus for the contribution!
Related links
gruntwork-io/terragrunt#1548
v0.29.8
Compare Source
Updated CLI args, config attributes and blocks
--terragrunt-debug
Description
You can now control the
--terragrunt-debug
flag using theTERRAGRUNT_DEBUG
environment variable.Related links
gruntwork-io/terragrunt#1698
v0.29.7
Compare Source
Updated CLI args, config attributes and blocks
iam_role
Description
Fix a bug where Terragrunt would not properly assume the IAM role specified via the
iam_role
parameter if you were using AWS SSO.Special thanks
Thank you to @stevie- for the contribution!
Related links
v0.29.6
Compare Source
Updated CLI args, config attributes and blocks
--help
Description
Update the usage text for Terragrunt to reflect that options should go after the command. There should be no impact on Terragrunt's behavior in this release.
Special thanks
Thank you to @Tarasovych for the contribution!
Related links
v0.29.5
Compare Source
Updated CLI args, config attributes and blocks
--terragrunt-source-map
[CLI Arg]Description
You can now configure the Terragrunt source map option using the environment variable
TERRAGRUNT_SOURCE_MAP
. You can configure multiple mappings using comma separated value encoding. For example, the following configures three mappings:Related links
v0.29.4
Compare Source
Updated CLI args, config attributes and blocks
--terragrunt-iam-assume-role-duration
[new CLI Arg]iam_assume_role_duration
[new config]Description
You can now use the new CLI arg and config setting to configure the duration for the IAM role from
--terragrunt-iam-role
.Special thanks
Thank you to @thehunt33r for the contribution!
Related links
v0.29.3
Compare Source
Updated CLI args, config attributes and blocks
--terragrunt-source-map
[CLI Arg]Description
This release introduces
--terragrunt-source-map
, which can be used to provide multiple mappings to translate terragrunt source URLs in the config with another path. See the documentation for more information.Related links
v0.29.2
Compare Source
Updated CLI args, config attributes and blocks
get_aws_account_id
[func]get_aws_caller_identity_arn
[func]get_aws_caller_identity_user_id
[func]Description
get_aws_**
functions ignored the config file (~/.aws/config
).Related links
v0.29.1
Compare Source
Updated CLI args, config attributes and blocks
Description
Related links
v0.29.0
Compare Source
Updated CLI args, config attributes and blocks
Description
Related links
v0.28.24
Compare Source
Updated CLI args, config attributes and blocks
skip_bucket_versioning
Description
skip_bucket_versioning
is set totrue
, and you are using GCS as a backend, Terragrunt will not only not enable versioning automatically, but now it will also no longer try to check if versioning is enabled either.Special thanks
Related links
v0.28.23
Compare Source
Updated CLI args, config attributes and blocks
get_terraform_commands_that_need_locking()
Description
init
from the list of commands returned byget_terraform_commands_that_need_locking()
, asinit
does not support locking, and as of Terraform 0.15, will exit with an error if you try to use the lock parameters with it.Special thanks
Related links
init
from TERRAFORM_COMMANDS_NEED_LOCKING gruntwork-io/terragrunt#1642v0.28.22
Compare Source
Updated CLI args, config attributes and blocks
sops_decrypt_file()
Description
sops
,aws-sdk-go
, andvault
libraries that we depend on. As a result, thesops_decrypt_file()
function should now work with data encrypted via HashiCorp Vault.Special thanks
Related links
v0.28.21
Compare Source
Updated CLI args, config attributes and blocks
get_original_terragrunt_dir()
[NEW]generate
remote_state
Description
get_original_terragrunt_dir()
helper, which returns the directory where the original Terragrunt configuration file (by defaultterragrunt.hcl
) lives. This is primarily useful when one Terragrunt config is being read from another: e.g., if/terraform-code/terragrunt.hcl
callsread_terragrunt_config("/foo/bar.hcl")
, and withinbar.hcl
, you callget_original_terragrunt_dir()
, you'll get back/terraform-code
.generate
andremote_state
settings so that they can be set either as blocks or attributes. This makes it possible to, for example, read these settings fromcommon.hcl
usingread_terragrunt_config
and set them dynamically.Related links
v0.28.20
Compare Source
Updated CLI args, config attributes and blocks
--terragrunt-strict-include
Description
--terragrunt-strict-include
, Terragrunt will now only execute within the directories passed in via--terragrunt-include-dir
. If you set--terragrunt-strict-include
, but don't pass in any directories via--terragrunt-include-dir
, then Terragrunt will exit without doing anything. This is arguably a backwards incompatible change, but this is the behavior the--terragrunt-strict-include
flag was intended to have originally, and is less surprising, so we're treating this as a bug fix.Special thanks
Related links
--terragrunt-strict-include
when no--terragrunt-include-dir
flags are included gruntwork-io/terragrunt#1631v0.28.19
Compare Source
Updated CLI args, config attributes and blocks
retry_max_attempts
[NEW]retry_sleep_interval_sec
[NEW]Description
retry_max_attempts
andretry_sleep_interval_sec
, respectively.debug
.Special thanks
Related links
hashicorp/terraform
v1.0.4
Compare Source
1.0.4 (August 04, 2021)
BUG FIXES:
v1.0.3
Compare Source
1.0.3 (July 21, 2021)
ENHANCEMENTS
terraform plan
: The JSON logs (-json
option) will now includeresource_drift
, showing changes detected outside of Terraform during the refresh step. (#29072)max_request_bytes
allows larger requests and for the client, to match the server request limit. (#28078)BUG FIXES:
terraform plan
: Will no longer panic when trying to render null maps. (#29207)v1.0.2
Compare Source
1.0.2 (July 07, 2021)
BUG FIXES:
terraform show
: Fix crash when rendering JSON plan with sensitive values in state (#29049)floor
andceil
functions no longer lower the precision of arguments to what would fit inside a 64-bit float, instead preserving precision in a similar way as most other arithmetic functions. (#29110)flatten
function was incorrectly treating null values of an unknown type as if they were unknown values. Now it will treat them the same as any other non-list/non-tuple value, flattening them down into the result as-is. (#29110)Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.