https://prefect.io logo
m

Mitch

08/24/2023, 8:20 PM
When updating in the advanced config on the prefect cloud UI, I am adding the following, clicking save, and it says "work pool updated", but when I return to the editor, it is gone - any thoughts? is it being saved?
Copy code
"taskDefinition": "{{ task_definition_arn }}",
      "networkConfiguration": {
        "awsvpcConfiguration": {
          "subnets": [
            "subnet-ccc",
            "subnet-sss",
            "subnet-bbb",
            "subnet-aaaaa"
          ],
          "assignPublicIp": "ENABLED",
          "securityGroups": [
            "sg-xxx"
          ]
        }
      }
    },
๐Ÿ‘€ 1
looks like it isn't saving, and in the logs, it is showing
Copy code
task-definition/prefect
using all the subnets in my VPC
j

Jamie Zieziula

08/24/2023, 8:54 PM
is the networkConfiguration at the correct indentation?
hm i think this is right
t

Taylor Curran

08/25/2023, 3:02 PM
Hi @Mitch are you making the edit before creating the work pool?
It might help to create the workspace with no customizations first, then click the three dots at the top right to edit the workspace after its been created.
Provided the above^
The UI wonโ€™t save the change if the JSON is not valid, I would copy paste the entirety of the advanced tab and throw it into an editor to double check all the brackets match up.
m

Mitch

08/25/2023, 4:41 PM
Will do. Iโ€™m OOO but will try Monday. Thanks for following up on this. I think this would be valuable to add to the prefect documentation as there was another person who had similar questions
๐Ÿ‘ 1
It was incorrect YAML on my end. Thanks again
blob attention gif 1
t

Taylor Curran

08/29/2023, 3:08 PM
thanks for the update!
๐Ÿ‘ 1