mashun4ek / ecs_terraform_workshop Goto Github PK
View Code? Open in Web Editor NEWExamples of TF files for creating AWS ECS infrastructure
Examples of TF files for creating AWS ECS infrastructure
Could someone pls suggest on how to resolve this issue? Thanks.
Error: error creating ECS Capacity Provider (capacity-provider-test): ClientException: ECS Service Linked Role does not exist. Please create a Service linked role
for ECS and try again.
│
│ with aws_ecs_capacity_provider.test,
│ on ecs.tf line 10, in resource "aws_ecs_capacity_provider" "test":
│ 10: resource "aws_ecs_capacity_provider" "test" {
In your video at 19:38 when you created a key pair manually, i did the same too (my naming convention is following yours), and when i execute terraform plan afterwards, i'd get this error:
Error: Call to unknown function
on .terraform\modules\vpc\main.tf line 288, in resource "aws_subnet" "public":
288: availability_zone = length(regexall("^[a-z]{2}-", element(var.azs, count.index))) > 0 ? element(var.azs, count.index) : null
There is no function named "regexall".
Anyone know whats going on?
Hello,
So I cloned the directory and when I ran terraform init, I was given this error? Its located in the .terraform dir so I deleted it as it is only a temp folder when you run terraform init/plan/apply. But it seems to be an issue with something else, as when i ran terraform init again it reappeared with the same bug.
`Error: Unsupported Terraform Core version
on .terraform/modules/vpc/versions.tf line 2, in terraform:
2: required_version = "~> 0.12.6"`
In main.tf there is also an outdated version being used for AWS.
To recreate this error.
git clone https://github.com/mashun4ek/ecs_terraform_workshop.git
cd ecs_terraform_workshop
terraform init
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.