Skip to content

Instantly share code, notes, and snippets.

@forestjohnsonpeoplenet
Created November 1, 2017 15:57
Show Gist options
  • Select an option

  • Save forestjohnsonpeoplenet/d6c0b0d750bde4ee0b88846d7030e79f to your computer and use it in GitHub Desktop.

Select an option

Save forestjohnsonpeoplenet/d6c0b0d750bde4ee0b88846d7030e79f to your computer and use it in GitHub Desktop.

Revisions

  1. forestjohnsonpeoplenet created this gist Nov 1, 2017.
    93 changes: 93 additions & 0 deletions shell history.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,93 @@


    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.