-
-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore!: remove deprecated variables (#738)
This PR removes all variables which are marked as deprecated. - `arn_format` - `subnet_id_runners` - `subnet_ids_gitlab_runner` - `asg_terminate_lifecycle_hook_create` - `asg_terminate_lifecycle_hook_heartbeat_timeout` - `asg_terminate_lifecycle_lambda_memory_size` - `asg_terminate_lifecycle_lambda_runtime` - `asg_terminate_lifecycle_lambda_timeout` Yes. Remove the variables from your configuration. This is done automatically by the migration script. None. --------- Co-authored-by: Tyrone Meijn <tyrone_meijn@hotmail.com> # Conflicts: # main.tf
- Loading branch information
Showing
7 changed files
with
36 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
# | ||
# Precondition: The module call has been extracted to a separate file given in "$1". The code is well-formatted. | ||
# Run `terraform fmt` to do that | ||
# | ||
# $1: file name containing the module call to be converted | ||
# | ||
|
||
converted_file="$1.new" | ||
|
||
cp "$1" "$converted_file" | ||
|
||
# | ||
# PR #738 chore!: remove deprecated variables | ||
# | ||
sed -i '/arn_format/d' "$converted_file" | ||
sed -i '/subnet_id_runners/d' "$converted_file" | ||
sed -i '/subnet_ids_gitlab_runner/d' "$converted_file" | ||
sed -i '/asg_terminate_lifecycle_hook_create/d' "$converted_file" | ||
sed -i '/asg_terminate_lifecycle_hook_heartbeat_timeout/d' "$converted_file" | ||
sed -i '/asg_terminate_lifecycle_lambda_memory_size/d' "$converted_file" | ||
sed -i '/asg_terminate_lifecycle_lambda_runtime/d' "$converted_file" | ||
sed -i '/asg_terminate_lifecycle_lambda_timeout/d' "$converted_file" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters