Giter Club home page Giter Club logo

Comments (5)

LukeMwila avatar LukeMwila commented on September 17, 2024 1

Hey @duanvnc , sorry for the late response. You can use the default_route_table_id property from your vpc. It's a much better approach, I just hadn't updated my source code. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/default_route_table

from aws-apigateway-vpc-ecs-fargate.

LukeMwila avatar LukeMwila commented on September 17, 2024

Hi @duanvnc , you have to create a file called sensitive.tfvars to populate the values for the variables that you would consider sensitive.
For example:
account_id = your AWS account ID
profile = "your-iam-profile" # configured with aws cli
region = "eu-west-1"
availability_zones = ["eu-west-1a", "eu-west-1b"]
github_secret_name = "githubSecretName" # Only relevant if you're sourcing a GitHub repository.
platform_name = "name-of-your-platform"
app_port = 8080 # This approach would change if you're running multiple containers in ECS. You could perhaps use a map.
app_image = docker image uri

from aws-apigateway-vpc-ecs-fargate.

duanvnc avatar duanvnc commented on September 17, 2024

@LukeMwila Thank you so much, it has been resolved. However, I got another error to set main_pvt_route_table_id, is it able to auto-creates the route table instead of creating main_pvt_route_table_id manually?

from aws-apigateway-vpc-ecs-fargate.

duanvnc avatar duanvnc commented on September 17, 2024

@LukeMwila Can you help with that issue? because always got an error for main_route_table, after I copy the main route table id of VPC which one created, then replace to vars to run again, it will bypass that case.

from aws-apigateway-vpc-ecs-fargate.

duanvnc avatar duanvnc commented on September 17, 2024

@LukeMwila Thank you so much!

from aws-apigateway-vpc-ecs-fargate.

Related Issues (2)

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.