Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure: Support for Azure Container Apps #1491

Open
tjololo opened this issue Dec 18, 2024 · 0 comments · May be fixed by #1493
Open

Azure: Support for Azure Container Apps #1491

tjololo opened this issue Dec 18, 2024 · 0 comments · May be fixed by #1493
Labels
enhancement New feature or request

Comments

@tjololo
Copy link

tjololo commented Dec 18, 2024

Describe the solution you'd like
It would be nice to have the ability to test if Azure Container App environment, Azure Container App, and Azure Container App Job exists and have a possibility to Get those resources.
This could enable users of terratest to do the following:

envName := "example-env"
appName := "example-app"
jobName := "example-job"
subscriptionID := "00000000-0000-0000-0000-000000000000"

assert.True(t, azure.ContainerAppEnv(t, envName, resourceGroupName, subscriptionID))
assert.True(t, azure.ContainerApp(t, appName, resourceGroupName, subscriptionID))
assert.True(t, azure.ContainerAppJob(t, jobName, resourceGroupName, subscriptionID))
env := azure.GetContainerAppEnv(t, envName, resourceGroupName, subscriptionID)
app := azure.GetContainerApp(t, appName, resourceGroupName, subscriptionID)
job := azure.GetContainerAppJob(t, jobName, resourceGroupName, subscriptionID)
// All functions with a corresponding ****E(....) (res, err)

Describe alternatives you've considered
Could leverage the azure sdk for go directly and fetch the resources.

Additional context
If I have overlooked something and this already exists then nothing would be better.
If this is something you like I can try to contribute a PR for supporting this

@tjololo tjololo added the enhancement New feature or request label Dec 18, 2024
@tjololo tjololo linked a pull request Dec 19, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant