Commit Graph

103 Commits

Author SHA1 Message Date
Macwan Nevil
b1acc97e36
ELBv2: target-group creation and modification improvements (#6886) 2023-10-11 21:16:58 +00:00
Macwan Nevil
90fec47f5f
ELBv2: fixed exception message for target group (#6882) 2023-10-05 17:30:49 +00:00
Sannya Singal
387e0960d3
elbv2: adds a new ssl policy (#6835)
* add ssl policy for ELBSecurityPolicy-TLS13-1-2-2021-06

* run formatter

* fix failing tests
2023-09-21 17:35:15 +00:00
Bert Blommers
55293b3668
ELBv2: Improve Target Group validation (#6818) 2023-09-16 08:54:51 +00:00
Macwan Nevil
fb9023a20e
ELBv2: added validation for create_target_group() and set_ip_address_type() (#6817) 2023-09-15 19:57:11 +00:00
Bert Blommers
b7cedf6480
Prep release 4.2.3 (#6814) 2023-09-15 17:56:03 +00:00
Macwan Nevil
971e432ad3
ELBv2: fix parity in describe_target_group (#6812) 2023-09-15 10:12:47 +00:00
Florian Weyandt
6831c42284
Elbv2.create rule links target group to lb (#6452)
* Link loadbalancer arn to target group when creating a forward rule so target groups can be found by loadbalancer arn

* add test for describe_target_groups by loadbalancer arn when creating listener rule after listener creation

* Linting

---------

Co-authored-by: Bert Blommers <info@bertblommers.nl>
2023-09-15 07:39:17 +00:00
Macwan Nevil
c1a6609f55
ELBv2: added validation for target group (#6808) 2023-09-14 12:52:14 +00:00
Bert Blommers
bc29ae2fc3
Techdebt: Update TF tests (#6661) 2023-08-21 20:33:16 +00:00
Bert Blommers
6b0d022925
Techdebt: Replace sure with regular assertions in ELBv2 (#6558) 2023-07-24 12:50:35 +00:00
Marco Braga
bdcc6f3335
ELBv2: describe-target-health: return unavailable target (#6195) 2023-04-17 16:43:14 +00:00
Bert Blommers
27a2e42d9b
Admin: Update Docs to point to getmoto (#5826) 2023-01-07 10:35:14 -01:00
Bert Blommers
1a8ddc0f2b
Techdebt: Replace string-format with f-strings (for tests dirs) (#5678) 2022-11-17 21:41:08 -01:00
Bert Blommers
9340335d73
EC2 availability zones in us-west-1: use A and B (#5515) 2022-10-02 13:03:03 +00:00
Bert Blommers
37c5be725a
EC2: Fix us-west-1 availability zones to b and c (#5513) 2022-10-01 22:33:22 +00:00
Bert Blommers
3d913f8f15
MultiAccount support (#5192) 2022-08-13 09:49:43 +00:00
Adam
5aace90385
ELBv2:create_target_group: fix template variable typo (#5147) 2022-05-19 17:35:38 +00:00
Stephanie Manning
b57ce46670
Support all Action types in ELBv2 create_rule and set_rule_priorities responses (#5080) 2022-04-30 11:09:03 +00:00
Bert Blommers
61a5d5ca3b
ELBv2 - enable Tags for create_target_group (#5045) 2022-04-21 19:27:14 +00:00
Viren Nadkarni
14fc1d3e41
ELB: Fix response templates (#5032) 2022-04-16 20:57:02 +00:00
Bert Blommers
d6bec75e43
ELBV2 - Ensure ResourceARN is returned when describing tags (#4990) 2022-03-31 11:40:06 +00:00
Bert Blommers
472b1dab0c
ELBv2 - improve tagging (#4964) 2022-03-23 19:44:12 -01:00
Bert Blommers
47ce689cb7
ELB/ELBv2 improvements (#4956) 2022-03-21 19:55:19 -01:00
Viren Nadkarni
c1c423674c
Remove unused exception argument (#4924) 2022-03-15 11:34:52 -01:00
Viren Nadkarni
131c448756
ELBv2: Fix LoadBalancerNotFound being thrown for listener rules (#4921) 2022-03-15 11:34:19 -01:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
Bert Blommers
bb6fb1200f
ELBv2 - Allow IAM certificates when calling modify_listener (#4823) 2022-02-04 20:59:23 -01:00
Bert Blommers
2fd6f34060
EC2 - VpcEndpointServiceConfiguration (#4815) 2022-01-30 22:00:26 -01:00
Bert Blommers
ed86df6bae
ELBv2 improvements (#4808) 2022-01-29 11:04:14 -01:00
Bert Blommers
43269fc8af
ELBv2 - Support create_listener with ForwardConfig param (#4704) 2021-12-20 16:06:57 -01:00
Hugo Delgado
7b06d74576
ELBV2 - Fix elbv2 modify_rule expects Conditions (#4677) (#4681) 2021-12-12 20:10:15 -01:00
Bert Blommers
17f2a13573
ELBv2 - Store default action when modifying listener (#4589) 2021-11-17 20:36:20 -01:00
Julio Cesar
1e85e16f0f
Fix missing valid_attrs (issue 4529) (#4530) 2021-11-06 11:37:19 -01:00
Bert Blommers
bf242cd382
Feature: ELBv2: create_target_group with TargetType (#4443) 2021-10-19 21:01:00 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
Bert Blommers
0d0354438e
ELBv2 - Streamline parsing of Actions-parameter in create_rule (#4390) 2021-10-11 21:12:38 +00:00
Shreesha Addala
7d660b236f
Add support for ELBSecurityPolicy-FS-1-2-Res-2020-10 (#4377) 2021-10-07 18:18:02 +00:00
rajinder
71b4b47523
4365 cannot create listener (#4373) 2021-10-06 09:24:59 +00:00
Bert Blommers
7acdfe4feb
Introduce Pylint to check for duplicate test method names (#3684) 2021-08-21 16:33:15 +01:00
Evan O'Connell
25e79c6e67
Fix IsDefault bug in elbv2 describe_rules (#4204) 2021-08-21 05:50:10 +01:00
Bert Blommers
547a1844ed
Tech debt - improve test coverage EC2/ELBv2/Events (#4181) 2021-08-16 15:13:50 +01:00
Evan O'Connell
85dc52bd84
Support all ELBv2 ListenerRule condition types (#4066)
* ELBv2 - ListenerRule condition validation

- ListenerRule condition model now uses upper case field names that
  match input params for boto and CloudFormation.
- BaseResponse._get_params() introduced to make it easier to deal
  with the querystring input params.
2021-07-16 08:01:14 +01:00
Sahil Shah
3ae4c23c23
Transform certificates in listener in expected XML (#4049) 2021-07-01 16:25:40 +01:00
Sahil Shah
3f5408c9d0
Adding support for ForwardConfig property in ListernRule in CloudFormation (#3993)
* Add ssm parsing support for cloudformation stacks

* Start adding unit tests for ssm parameter parsing

* Add tests for code update

* Add tests to parse ssm parameters code

* Fix black lint errors

* Fix bug.

* Need to specify region_name

* region needs to be same

* Use ssm_backends[region] instead of ssm_backend

* StringList -> string

* Linting

* check if servermode tests are on

* Typo

* Added support for ListenerRule. Will remove cruft

* Pushing latest

* Something works

* Put back ripped out code

* Save point. Incase I need more validations

* Revert "Save point. Incase I need more validations"

This reverts commit dac4953335dd9335eddb7a91a63667bc3c17104c.

* Fixed validations and some refactor

* Fix formatting

* Linting

* Cannot refactor if I have to fix all tests

* Remove exceptions for now. Will do in another PR

* Remove validations. Will add in next PR

* Fix broken tests. Almost.:

* Fix all tests. Some sneaky for now.

* Python2 making me write bad code

* OrderedDict.move_to_end() does not work in python2

* Linting

* Add more checks to field in conditions later.

* Unwnated change in FakeListener

* Revert "Unwnated change in FakeListener"

This reverts commit 962c2fdfd76fce999de9feccf1dd1c3ec48c459f.

* Add back default listener rule

* Linting fix

* Fix priority sorting

* Add cloudformation test for edge case

* Add validation for ForwardConfig in Action of ListernRule CF

* use not in

* set the priority template correctly

* Check for boolean in condition

* One more check

Co-authored-by: Bert Blommers <bblommers@users.noreply.github.com>
2021-06-09 18:41:18 +01:00
Bert Blommers
43426c71f4
ELBv2 - Simplify tests (#3999) 2021-06-09 16:34:53 +01:00
Sahil Shah
b82096ba37
Add support for AWS::ElasticLoadBalancingV2::ListenerRule (#3969)
* Add ssm parsing support for cloudformation stacks

* Start adding unit tests for ssm parameter parsing

* Add tests for code update

* Add tests to parse ssm parameters code

* Fix black lint errors

* Fix bug.

* Need to specify region_name

* region needs to be same

* Use ssm_backends[region] instead of ssm_backend

* StringList -> string

* Linting

* check if servermode tests are on

* Typo

* Added support for ListenerRule. Will remove cruft

* Pushing latest

* Something works

* Put back ripped out code

* Save point. Incase I need more validations

* Revert "Save point. Incase I need more validations"

This reverts commit dac4953335dd9335eddb7a91a63667bc3c17104c.

* Fixed validations and some refactor

* Fix formatting

* Linting

* Cannot refactor if I have to fix all tests

* Remove exceptions for now. Will do in another PR

* Remove validations. Will add in next PR

* Fix broken tests. Almost.:

* Fix all tests. Some sneaky for now.

* Python2 making me write bad code

* OrderedDict.move_to_end() does not work in python2

* Linting

* Add more checks to field in conditions later.

* Unwnated change in FakeListener

* Revert "Unwnated change in FakeListener"

This reverts commit 962c2fdfd76fce999de9feccf1dd1c3ec48c459f.

* Add back default listener rule

* Linting fix

* Fix priority sorting

* Add cloudformation test for edge case

Co-authored-by: Bert Blommers <bblommers@users.noreply.github.com>
2021-06-05 10:04:04 +01:00
Giovanni Torres
867cf078de
feat: transition elbv2 state to active on first describe (#3937)
* refactor: parameterize state in elbv2 template response

* feat: transition load balancer to active on first describe

Closes #3936
2021-05-18 07:52:39 +01:00
Brandon Clodius
81859f9180
(fix) Fixes #3648 (#3649)
* (fix) Fixes #3648

* (fix) formatting

* (review) add assertion for exception thrown
2021-02-02 15:21:16 +00:00
Brian Pandola
cd044ef00b
Remove redundant test code (#3640)
These tests, when run, do not execute any `moto` code. They fail the
parameter validation check in `botocore`, which raises an exception
before ever sending a request.  These tests do not cover or verify
any `moto` behavior and have been removed.
2021-01-31 12:21:24 +00:00