You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For an example of using ALB with ECS look no further than the [hashicorp example](https://github.com/terraform-providers/terraform-provider-aws/blob/master/examples/ecs-alb).
29
+
but we inherit a few bonuses by moving to ALB like the ability to leverage WAF.
30
+
[AWS's documentation](https://aws.amazon.com/elasticloadbalancing/applicationloadbalancer/) has a more
31
+
exhastive set of reasons. Alternatively, if using ALB with ECS look no further than
32
+
the [hashicorp example](https://github.com/terraform-providers/terraform-provider-aws/blob/master/examples/ecs-alb).
33
33
34
34
## Resources, inputs, outputs
35
35
36
36
[Resources](https://registry.terraform.io/modules/terraform-aws-modules/alb/aws?tab=resources), [inputs](https://registry.terraform.io/modules/terraform-aws-modules/alb/aws?tab=inputs), and [outputs](https://registry.terraform.io/modules/terraform-aws-modules/alb/aws?tab=outputs) documented in the terraform registry.
37
37
38
38
## Usage example
39
39
40
-
A full example leveraging other community modules is contained in the [examples/test_fixtures directory](https://github.com/terraform-aws-modules/terraform-aws-alb/tree/master/examples/test_fixtures). Here's the gist of using it via the Terraform registry:
40
+
A full example leveraging other community modules is contained in the [examples/alb_test_fixture directory](https://github.com/terraform-aws-modules/terraform-aws-alb/tree/master/examples/alb_test_fixture). Here's the gist of using it via the Terraform registry:
This module has been packaged with [awspec](https://github.com/k1LoW/awspec) tests through test kitchen. To run them:
63
+
This module has been packaged with [awspec](https://github.com/k1LoW/awspec) tests through [kitchen](https://kitchen.ci/) and [kitchen-terraform](https://newcontext-oss.github.io/kitchen-terraform/). To run them:
63
64
64
65
1. Install [rvm](https://rvm.io/rvm/install) and the ruby version specified in the [Gemfile](https://github.com/terraform-aws-modules/terraform-aws-alb/tree/master/Gemfile).
65
-
1. Install bundler and the gems from our Gemfile:
66
+
2. Install bundler and the gems from our Gemfile:
66
67
67
-
```bash
68
-
gem install bundler && bundle install
69
-
```
68
+
```bash
69
+
gem install bundler && bundle install
70
+
```
70
71
71
-
1. Ensure your AWS environment is configured (i.e. credentials and region) for test and set TF_VAR_region to a valid AWS region (e.g. `export TF_VAR_region=${AWS_REGION}`).
72
-
1. Test using `kitchen test` from the root of the repo.
72
+
3. Ensure your AWS environment is configured (i.e. credentials and region) fortest and set TF_VAR_region to a valid AWS region (e.g. `export TF_VAR_region=${AWS_REGION}`).
73
+
4. Test using `bundle execkitchen test` from the root of the repo.
73
74
74
75
## Contributing
75
76
@@ -79,15 +80,15 @@ Pull requests are welcome! Ideally create a feature branch and issue for every
79
80
individual change made. These are the steps:
80
81
81
82
1. Fork the repo to a personal space or org.
82
-
1. Create your feature branch from master (`git checkout -b my-new-feature`).
83
-
1. Commit your awesome changes (`git commit -am 'Added some feature'`).
84
-
1. Push to the branch (`git push origin my-new-feature`).
85
-
1. Create a new Pull Request and tell us about your changes.
83
+
2. Create your feature branch from master (`git checkout -b my-new-feature`).
84
+
3. Commit your awesome changes (`git commit -am 'Added some feature'`).
85
+
4. Push to the branch (`git push origin my-new-feature`).
86
+
5. Create a new Pull Request and tell us about your changes.
86
87
87
88
## IAM Permissions
88
89
89
90
Testing and using this repo requires a minimum set of IAM permissions. Test permissions
90
-
are listed in the [test_fixtures README](https://github.com/terraform-aws-modules/terraform-aws-alb/tree/master/examples/test_fixtures/README.md).
91
+
are listed in the [alb_test_fixture README](https://github.com/terraform-aws-modules/terraform-aws-alb/tree/master/examples/alb_test_fixture/README.md).
0 commit comments