Giter Club home page Giter Club logo

gh-create-elb-listener-rule's Introduction

Provision ALB Listener Rule

Description

This GitHub Action provisions an ALB listener rule for an Elastic Load Balancer (ELB). It checks if the rule already exists and creates a new rule if it doesn't. The action ensures that the specified hostname is associated with the ALB listener rule and forwards traffic to the specified target group.

Inputs

Name Description Required Default
elbName The name of the Elastic Load Balancer (ELB). ecs-modular-monolith
elbListenerHostname The hostname for the ALB listener rule.
targetGroupArn The ARN of the target group to which the traffic should be forwarded.

Outputs

This action doesn't have any outputs.

Example Usage

jobs:
  provision-alb-listener-rule:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v3

      - name: Provision ALB Listener Rule
        id: alb-rule
        uses: caring/[email protected]
        with:
          elbName: ecs-modular-monolith
          elbListenerHostname: ecs-modular-monolith
          targetGroupArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/example-target-group/abcdef1234567890

      - name: Print Existing ALB Listener Rules
        run: |
          echo "Existing ALB listener rules:"
          echo "${{ steps.alb-rule.outputs.existingRules }}"

This action will provision an ALB listener rule for the specified ELB, associated with the provided hostname and target group ARN. It can be used in your workflow to ensure proper routing of traffic to the desired target group.

License

This project is licensed under the MIT License.

Author

Written by the DevOps Team.

gh-create-elb-listener-rule's People

Contributors

saldave2905 avatar

Watchers

 avatar  avatar  avatar

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.