File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
localstack-core/localstack/services/cloudformation Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -273,6 +273,7 @@ jobs:
273
273
events-v1:
274
274
- 'tests/aws/services/events/**'
275
275
cloudformation-v2:
276
+ - 'localstack-core/localstack/services/cloudformation/**'
276
277
- 'tests/aws/services/cloudformation/**'
277
278
sns-v2:
278
279
- 'tests/aws/services/sns/**' # todo: potentially add more locations (lambda/sqs tests?)
Original file line number Diff line number Diff line change 60
60
from localstack .utils .strings import to_bytes
61
61
from localstack .utils .urls import localstack_host
62
62
63
- _AWS_URL_SUFFIX = localstack_host ().host_and_port () # The value in AWS is "amazonaws.com"
63
+ _AWS_URL_SUFFIX = localstack_host ().host # The value in AWS is "amazonaws.com"
64
64
65
65
_PSEUDO_PARAMETERS : Final [set [str ]] = {
66
66
"AWS::Partition" ,
@@ -450,7 +450,8 @@ def _perform_static_replacements(value: str) -> str:
450
450
prefix = api_match [1 ]
451
451
host = api_match [2 ]
452
452
path = api_match [3 ]
453
- value = f"{ prefix } { host } /{ path } "
453
+ port = localstack_host ().port
454
+ value = f"{ prefix } { host } :{ port } /{ path } "
454
455
return value
455
456
456
457
return value
Original file line number Diff line number Diff line change @@ -563,7 +563,7 @@ def execute_action(
563
563
@staticmethod
564
564
def try_load_resource_provider (resource_type : str ) -> ResourceProvider | None :
565
565
# TODO: unify namespace of plugins
566
- if resource_type .startswith ("Custom" ):
566
+ if resource_type and resource_type .startswith ("Custom" ):
567
567
resource_type = "AWS::CloudFormation::CustomResource"
568
568
569
569
# 1. try to load pro resource provider
You can’t perform that action at this time.
0 commit comments