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

Doesn't handle URIs with SAS tokens #1228

Closed
StephenWeatherford opened this issue Mar 1, 2021 · 2 comments · Fixed by #1230
Closed

Doesn't handle URIs with SAS tokens #1228

StephenWeatherford opened this issue Mar 1, 2021 · 2 comments · Fixed by #1230
Milestone

Comments

@StephenWeatherford
Copy link
Contributor

StephenWeatherford commented Mar 1, 2021

Gives: "Template validation failed: Failed with code "404".",

{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {},
    "functions": [],
    "variables": {
    },
    "resources": [
        {
            "name": "linkedDeployment1",
            "type": "Microsoft.Resources/deployments",
            "apiVersion": "2020-10-01",
            "properties": {
                "mode": "Incremental",
                "templateLink": {
                    "uri": "https://sawdeploy.blob.core.windows.net/sawdeploy/subfolder/child.json?sv=2019-12-12&si=sawdeploy&sr=b&sig=wsrxXCkFbk2IVpk489XIR0KDFyzJaeQHwFvTm5mdQcU%3D",
                    "contentVersion": "1.0.0.0"
                },
                "parameters": {}
            }
        }
    ],
    "outputs": {}
}
@StephenWeatherford StephenWeatherford changed the title Properly handle URIs with SAS tokens Doesn't handle URIs with SAS tokens Mar 1, 2021
@StephenWeatherford
Copy link
Contributor Author

Clicking on code lens gives:
image

@StephenWeatherford
Copy link
Contributor Author

saw/sas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant