GithubHelp home page GithubHelp logo

amazon-autoscaling-mac1metal-ec2-with-terraform's Introduction

terraform-aws-ec2-mac1

Describes how to deploy a Mac1.Metal based Auto Scaling Group. Use with AWS Compute Blog Post as walkthrough.

Usage

See README

cd terraform-aws-dedicated-hosts

See README

cd terraform-aws-ec2-mac

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

amazon-autoscaling-mac1metal-ec2-with-terraform's People

Contributors

josh-bonello avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

amazon-autoscaling-mac1metal-ec2-with-terraform's Issues

Error: Provider produced inconsistent final plan

When running terraform -chdir=terraform-aws-ec2-mac apply -var-file="my.tfvars" -auto-approve from https://aws.amazon.com/blogs/compute/implementing-autoscaling-for-ec2-mac-instances/ I got this warning and error:

╷
│ Warning: Redundant ignore_changes element
│
│   on main.tf line 117, in resource "aws_launch_template" "mac_workers":
│  117: resource "aws_launch_template" "mac_workers" {
│
│ Adding an attribute name to ignore_changes tells Terraform to ignore future changes to the argument in configuration after the object has been created,
│ retaining the value originally configured.
│
│ The attribute latest_version is decided by the provider alone and therefore there can be no configured value to compare with. Including this attribute in
│ ignore_changes has no effect. Remove the attribute from ignore_changes to quiet this warning.
╵
╷
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for aws_autoscaling_group.mac_workers to include new values learned so far during apply, provider
│ "registry.terraform.io/hashicorp/aws" produced an invalid new value for .tags: length changed from 1 to 2.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵

I tried again and it gave me this error:

╷
│ Error: Error creating Auto Scaling Group: ValidationError: You must use a valid fully-formed launch template. An instance is associated with one or more unshared license configurations. Disassociate unshared license configurations from the instance before proceeding with instance launch. Consult License Manager Documentation to learn more.
│       status code: 400, request id: 5ae1e95b-3930-46c2-a162-d5fe2b5b875b
│
│   with aws_autoscaling_group.mac_workers,
│   on main.tf line 189, in resource "aws_autoscaling_group" "mac_workers":
│  189: resource "aws_autoscaling_group" "mac_workers" {
│
╵

So I can't complete the setup. Is something in this template out of date?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.