real test fixes: vpc endpoint configuration services
Description:
- There were changes from AWS side that sets a few default values and the load balancer type needed to be set to Gateway
- Added
allow_sync_sls_name_and_name_tag
contract for the vpc endpoint configuration for sync'ing name and name-tag. - Fixed the tests to use a shared module instead of Globals
Testing Done:
- Ran the tests with localstack pro
- Ran the tests locally
- Job run results: https://gitlab.com/sbhandari85/idem-aws/-/jobs/5715066631
tests/integration/idem_aws/states/ec2/test_vpc_endpoint.py::test_vpc_endpoint_absent_with_none_resource_id PASSED
tests/integration/idem_aws/states/ec2/test_vpc_endpoint_service_configuration.py::test_present[--test] PASSED
tests/integration/idem_aws/states/ec2/test_vpc_endpoint_service_configuration.py::test_present[run] PASSED
tests/integration/idem_aws/states/ec2/test_vpc_endpoint_service_configuration.py::test_present[no change --test] PASSED
tests/integration/idem_aws/states/ec2/test_vpc_endpoint_service_configuration.py::test_present[no change] PASSED
tests/integration/idem_aws/states/ec2/test_vpc_endpoint_service_configuration.py::test_get SKIPPED (test_get depends on present)
tests/integration/idem_aws/states/ec2/test_vpc_endpoint_service_configuration.py::test_update SKIPPED (test_update depends on present)
tests/integration/idem_aws/states/ec2/test_vpc_endpoint_service_configuration.py::test_describe SKIPPED (test_describe depends on present)
tests/integration/idem_aws/states/ec2/test_vpc_endpoint_service_configuration.py::test_absent[--test] PASSED
tests/integration/idem_aws/states/ec2/test_vpc_endpoint_service_configuration.py::test_absent[run] PASSED
tests/integration/idem_aws/states/ec2/test_vpc_endpoint_service_configuration.py::test_absent[no change --test] PASSED
tests/integration/idem_aws/states/ec2/test_vpc_endpoint_service_configuration.py::test_absent[no change] PASSED
Edited by Sudershan