Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Adds missing variables to pass base job template validation (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
desertaxle authored Aug 21, 2023
1 parent 8f92ab7 commit 3b67473
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Security

## 0.2.12

Released August 21st, 2023.

### Fixed

- Fixed misconfiguration in `AzureContainerWorker` base job template where `subnet_ids` and `dns_servers` were not included in the default base hob template variables - [#113](https://github.com/PrefectHQ/prefect-azure/pull/113/files)

## 0.2.11

Released July 20th, 2023.
Expand Down
10 changes: 10 additions & 0 deletions prefect_azure/workers/container_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,16 @@ class AzureContainerVariables(BaseVariables):
"on the task definition."
),
)
subnet_ids: Optional[List[str]] = Field(
title="Subnet IDs",
default=None,
description=("A list of subnet IDs to associate with the container group. "),
)
dns_servers: Optional[List[str]] = Field(
title="DNS Servers",
default=None,
description=("A list of DNS servers to associate with the container group."),
)
aci_credentials: AzureContainerInstanceCredentials = Field(
default_factory=AzureContainerInstanceCredentials,
description=("The credentials to use to authenticate with Azure."),
Expand Down

0 comments on commit 3b67473

Please sign in to comment.