Skip to content

Commit

Permalink
[integ-tests/custom_resource_bucket] Update where we store the netw…
Browse files Browse the repository at this point in the history
…orking stack to match prod. (aws#5194)
  • Loading branch information
charlesg3 authored Apr 14, 2023
1 parent d79b873 commit d27a800
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/integration-tests/conftest_resource_bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,16 @@ def policies_uri_fixture(request, region, resource_bucket):


def get_resource_map():
prefix = f"parallelcluster/{get_installed_parallelcluster_version()}"
version = get_installed_parallelcluster_version()
prefix = f"parallelcluster/{version}"
resources = {
"api/infrastructure/parallelcluster-api.yaml": f"{prefix}/api/parallelcluster-api.yaml",
"api/spec/openapi/ParallelCluster.openapi.yaml": f"{prefix}/api/ParallelCluster.openapi.yaml",
"cloudformation/custom_resource/cluster.yaml": f"{prefix}/templates/custom_resource/cluster.yaml",
"cloudformation/networking/public.cfn.json": f"{prefix}/templates/networking/public.cfn.json",
"cloudformation/networking/public-private.cfn.json": f"{prefix}/templates/networking/public-private.cfn.json",
"cloudformation/networking/public.cfn.json": f"{prefix}/templates/networking/public-{version}.cfn.json",
"cloudformation/networking/public-private.cfn.json": (
f"{prefix}/templates/networking/public-private-{version}.cfn.json"
),
"cloudformation/policies/parallelcluster-policies.yaml": f"{prefix}/templates/policies/policies.yaml",
}
return resources
Expand Down

0 comments on commit d27a800

Please sign in to comment.