Skip to content

Commit

Permalink
Linux-ify
Browse files Browse the repository at this point in the history
  • Loading branch information
benchiverton committed Jul 1, 2024
1 parent 934f17a commit 0d92708
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions terraform/instance/container_apps_bind_dns/scripts/create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ DOES_CUSTOM_DOMAIN_EXIST=$(
if [ -z "${DOES_CUSTOM_DOMAIN_EXIST}" ]; then
echo "adding custom hostname to container app first since it does not exist yet"
az containerapp hostname add \
-n $CONTAINER_APP_CONTAINER_APP_NAME \
-n $CONTAINER_APP_NAME \
-g $CONTAINER_APP_RESOURCE_GROUP \
--hostname $CUSTOM_DOMAIN \
--output none
Expand Down Expand Up @@ -119,4 +119,4 @@ else
--certificate $MANAGED_CERTIFICATE_NAME \
--output none
echo "finished binding. the domain is now secured and ready to use"
fi
fi
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ echo "destroyed the managed certificate"
az containerapp hostname delete --hostname $CUSTOM_DOMAIN \
-g $CONTAINER_APP_RESOURCE_GROUP \
-n $CONTAINER_APP_NAME
echo "removed the custom domain from the container app"
echo "removed the custom domain from the container app"

0 comments on commit 0d92708

Please sign in to comment.