From 12bc0c6cc386b906f4580d0581a058802f0e03ec Mon Sep 17 00:00:00 2001 From: Kevin Reynolds Date: Tue, 16 Apr 2024 15:03:44 -0400 Subject: [PATCH] pre-update for site creation --- README.md | 2 +- base/app/app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e55ce6..4bb3356 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Please see [here](./UserTags.md) for formatting information. - [X] LabID - Each XC lab has a unique GUID. This is passed into the tool to determine what resources and permissions should be provisioned. - [X] SQS_q - This is the SQS queue the Orijen provisioning tool is watching. - [X] SQS_r - This is the SQS region. -- [X] XC - This is used to identify the instance running the tool. It's value should be "true". +- [X] XC - This is used to identify the instance running the tool. It's value should be "runner". ## Project Orijen diff --git a/base/app/app.py b/base/app/app.py index 19cf0b1..37d8431 100644 --- a/base/app/app.py +++ b/base/app/app.py @@ -98,7 +98,7 @@ def query_metadata(metadata_base_url: str) -> dict|None: Retrieve AWS secret, AWS key, SQS URL, Lab GUID, deployer, deploy ID, and region. """ deployment_url = f"{metadata_base_url}/deployment" - user_tags_url = f"{metadata_base_url}/userTags/name/XC/value/true" + user_tags_url = f"{metadata_base_url}/userTags/name/XC/value/runner" cloud_accounts_url = f"{metadata_base_url}/cloudAccounts" deployment = fetch_metadata(deployment_url) if deployment is None: