Skip to content

Instantly share code, notes, and snippets.

@rishabhjain1510
Created September 21, 2022 10:55
Show Gist options
  • Save rishabhjain1510/65c279d1d2c0149208e109b66fcce29f to your computer and use it in GitHub Desktop.
Save rishabhjain1510/65c279d1d2c0149208e109b66fcce29f to your computer and use it in GitHub Desktop.
Initializing modules...
Initializing the backend...
Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing provider plugins...
- Using previously-installed -/random v3.4.3
- Using previously-installed -/archive v2.2.0
- Using previously-installed hashicorp/random v3.4.3
- Using previously-installed hashicorp/external v2.2.2
- Using previously-installed hashicorp/archive v2.2.0
- Using previously-installed hashicorp/aws v3.75.2
- Using previously-installed -/aws v4.30.0
- Using previously-installed -/external v2.2.2
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, we recommend adding version constraints in a required_providers block
in your configuration, with the constraint strings suggested below.
* -/archive: version = "~> 2.2.0"
* -/aws: version = "~> 4.30.0"
* -/external: version = "~> 2.2.2"
* -/random: version = "~> 3.4.3"
* hashicorp/archive: version = "~> 2.2.0"
* hashicorp/external: version = "~> 2.2.2"
* hashicorp/random: version = "~> 3.4.3"
Warning: Interpolation-only expressions are deprecated
on main.tf line 46, in output "aggregate":
46: value = "${module.rds-instance-pp-3hdhqno7z4jzo.*}"
Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.
Template interpolation syntax is still used to construct strings from
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.
(and 3 more similar warnings elsewhere)
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.
(and 3 more similar warnings elsewhere)
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
module.rds-instance-pp-3hdhqno7z4jzo.random_string.snap_random_id: Refreshing state... [id=tu15il8ocsaj]
module.rds-instance-pp-3hdhqno7z4jzo.random_string.temp_directory: Refreshing state... [id=Ez10BYJc]
module.rds-instance-pp-3hdhqno7z4jzo.random_string.password: Refreshing state... [id=LPAzL9WBiOVG]
module.rds-instance-pp-3hdhqno7z4jzo.data.archive_file.lambda_package: Refreshing state... [id=dd7b52883d51ac5bf5cd420c714e55e41f1d3e36]
module.rds-instance-pp-3hdhqno7z4jzo.data.aws_vpc.vpc_details: Refreshing state... [id=vpc-04cc7826d9db1f3ae]
module.rds-instance-pp-3hdhqno7z4jzo.aws_db_subnet_group.rds_subnet_group: Refreshing state... [id=aws-a0109-use1-00-d-sug-shrd-pfi-rds-pgs01]
module.rds-instance-pp-3hdhqno7z4jzo.data.aws_caller_identity.current: Refreshing state... [id=2021-08-25 08:40:11.860472699 +0000 UTC]
module.rds-instance-pp-3hdhqno7z4jzo.data.aws_kms_key.default_kms_key: Refreshing state... [id=94281f8f-c3bf-40c6-9db0-69df03a86c9e]
module.rds-instance-pp-3hdhqno7z4jzo.aws_iam_role.lambda_execution_role: Refreshing state... [id=aws-a0109-use1-00-d-rol-shrd-pfi-rds-pgs01]
module.rds-instance-pp-3hdhqno7z4jzo.aws_db_parameter_group.db_parameter_group: Refreshing state... [id=aws-a0109-use1-00-d-pmg-shrd-pfi-rds-pgs01]
module.rds-instance-pp-3hdhqno7z4jzo.data.external.password_check: Refreshing state...
module.rds-instance-pp-3hdhqno7z4jzo.aws_iam_role_policy_attachment.lambda_execution_role_execution_policy: Refreshing state... [id=aws-a0109-use1-00-d-rol-shrd-pfi-rds-pgs01-20210825084014931800000001]
module.rds-instance-pp-3hdhqno7z4jzo.aws_iam_role_policy.lambda_execution_role_policy: Refreshing state... [id=aws-a0109-use1-00-d-rol-shrd-pfi-rds-pgs01:aws-a0109-use1-00-d-pol-shrd-pfi-rds-pgs01]
module.rds-instance-pp-3hdhqno7z4jzo.aws_security_group.tf_db_security_group: Refreshing state... [id=sg-04161e92e048a6a06]
module.rds-instance-pp-3hdhqno7z4jzo.aws_security_group_rule.tf_db_security_group_rule: Refreshing state... [id=sgrule-3385682210]
module.rds-instance-pp-3hdhqno7z4jzo.aws_db_option_group.db_option_group: Refreshing state... [id=aws-a0109-use1-00-d-opg-shrd-pfi-rds-pgs01]
module.rds-instance-pp-3hdhqno7z4jzo.aws_db_instance.rds_instance: Refreshing state... [id=aws-a0109-use1-00-d-rds-shrd-pfi-pgs01]
module.rds-instance-pp-3hdhqno7z4jzo.aws_ssm_parameter.db_password: Refreshing state... [id=database_password-aws-a0109-use1-00-d-rds-shrd-pfi-pgs01]
module.rds-instance-pp-3hdhqno7z4jzo.aws_ssm_parameter.db_username: Refreshing state... [id=database_username-aws-a0109-use1-00-d-rds-shrd-pfi-pgs01]
module.rds-instance-pp-3hdhqno7z4jzo.aws_lambda_function.lambda_manage_database_user: Refreshing state... [id=aws-a0109-use1-00-d-lmb-shrd-pfi-rds-pgs01]
module.rds-instance-pp-3hdhqno7z4jzo.data.aws_lambda_invocation.lambda_function_invocation_rds: Refreshing state... [id=aws-a0109-use1-00-d-lmb-shrd-pfi-rds-pgs01_$LATEST_4c8f7cd7b501566c00aef4e85625ec93]
module.rds-instance-pp-3hdhqno7z4jzo.aws_cloudwatch_log_subscription_filter.log_subscription_filter["postgresql"]: Refreshing state... [id=cwlsf-3758767089]
------------------------------------------------------------------------
Warning: Interpolation-only expressions are deprecated
on main.tf line 46, in output "aggregate":
46: value = "${module.rds-instance-pp-3hdhqno7z4jzo.*}"
Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.
Template interpolation syntax is still used to construct strings from
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.
(and 3 more similar warnings elsewhere)
Error: Provider produced invalid plan
Provider "registry.terraform.io/hashicorp/random" planned an invalid value for
module.rds-instance-pp-3hdhqno7z4jzo.random_string.password.override_special:
planned value cty.NullVal(cty.String) does not match config value
cty.StringVal("!#$%&*()-_=+[]{}<>:?").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment