Created
November 1, 2017 15:57
-
-
Save forestjohnsonpeoplenet/d6c0b0d750bde4ee0b88846d7030e79f to your computer and use it in GitHub Desktop.
terraform bug
This file contains hidden or 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
fjohnson@fjohnson-Latitude-E6540:~/Desktop/test$ ~/Desktop/programs/terraform init | |
Initializing provider plugins... | |
- Checking for available provider plugins on https://releases.hashicorp.com... | |
- Downloading plugin for provider "aws" (1.2.0)... | |
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, it is recommended to add version = "..." constraints to the | |
corresponding provider blocks in configuration, with the constraint strings | |
suggested below. | |
* provider.aws: version = "~> 1.2" | |
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. | |
fjohnson@fjohnson-Latitude-E6540:~/Desktop/test$ ~/Desktop/programs/terraform plan | |
provider.aws.region | |
The region where AWS operations will take place. Examples | |
are us-east-1, us-west-2, etc. | |
Default: us-east-1 | |
Enter a value: us-east-1 | |
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. | |
------------------------------------------------------------------------ | |
An execution plan has been generated and is shown below. | |
Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
+ aws_elasticache_parameter_group.redis_parameter_group | |
id: <computed> | |
description: "Managed by Terraform" | |
family: "redis3.2" | |
name: "BUG" | |
Plan: 1 to add, 0 to change, 0 to destroy. | |
------------------------------------------------------------------------ | |
Note: You didn't specify an "-out" parameter to save this plan, so Terraform | |
can't guarantee that exactly these actions will be performed if | |
"terraform apply" is subsequently run. | |
fjohnson@fjohnson-Latitude-E6540:~/Desktop/test$ ~/Desktop/programs/terraform apply | |
provider.aws.region | |
The region where AWS operations will take place. Examples | |
are us-east-1, us-west-2, etc. | |
Default: us-east-1 | |
Enter a value: us-east-1 | |
aws_elasticache_parameter_group.redis_parameter_group: Creating... | |
description: "" => "Managed by Terraform" | |
family: "" => "redis3.2" | |
name: "" => "BUG" | |
Error: Error applying plan: | |
1 error(s) occurred: | |
* aws_elasticache_parameter_group.redis_parameter_group: 1 error(s) occurred: | |
* aws_elasticache_parameter_group.redis_parameter_group: Unable to find Parameter Group: []*elasticache.CacheParameterGroup{{ | |
CacheParameterGroupFamily: "redis3.2", | |
CacheParameterGroupName: "bug", | |
Description: "Managed by Terraform" | |
}} | |
Terraform does not automatically rollback in the face of errors. | |
Instead, your Terraform state file has been partially updated with | |
any resources that successfully completed. Please address the error | |
above and apply again to incrementally change your infrastructure. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment