-
Notifications
You must be signed in to change notification settings - Fork 11
Refactor of outputs to simplify bicep deployments #123
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
Open
abatallas
wants to merge
19
commits into
main
Choose a base branch
from
abatallas/simplify_outputs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
0a07d3a
Modified stored key output object, updated bicep accordingly
abatallas fa96ec8
Modified vnet peering output object, updated bicep accordingly
abatallas 45afec5
Modified existing vnet output object, updated bicep accordingly
abatallas 4894022
Modified database output object, updated bicep accordingly
abatallas abfffcb
Fixed bug with storedKeyId input parameter types in mainTemplate.bice…
abatallas 82f0fc6
Fix empty string error for split() calls with empty resource ID in Bicep
abatallas 978a99d
Remove export path from existing AML UI
abatallas 636152d
Removed prompts to select subnets for existing filers in BYOVnet scen…
abatallas 1f4d1a8
Changed references to ANF service tiers with those of ANF service lev…
abatallas 81d8d24
Fixed small typos in Slurm Settings UI
abatallas 51ff353
Added approved placeholder resource IDs
abatallas bd8767a
Used safe access operator for bastion rsc ID in ccw.bicep
abatallas 1d078af
Remove dependency on rsc_t type in bicep files
abatallas 2c52eba
Simplify create_cc_param.py and reflect changes to bicep files
abatallas 0af94b9
Bug fix: attempting to use access ID language element that no longer …
abatallas 6a205ea
Merge branch 'main' into abatallas/simplify_outputs
abatallas 27f19ba
Merge branch 'main' into abatallas/simplify_outputs
abatallas 1591e01
Merge branch 'main' into abatallas/simplify_outputs
abatallas 97b2a24
Merge branch 'main' into abatallas/simplify_outputs
abatallas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,9 @@ | ||
import {storedKey_t} from './types.bicep' | ||
param storedKey storedKey_t | ||
param storedKeyId string | ||
|
||
//TODO: Add autogenerate public key logic via REST API call in uidefinition file | ||
/* | ||
resource autogenerate_publickey 'Microsoft.Compute/sshPublicKeys@2023-09-01' = if (autogenerateSecrets) { | ||
name: 'autoGeneratedKey' | ||
location: location | ||
resource storedPublicKey 'Microsoft.Compute/sshPublicKeys@2024-03-01' existing = { | ||
name: split(storedKeyId,'/')[8] | ||
scope: resourceGroup(split(storedKeyId,'/')[4]) | ||
} | ||
*/ | ||
resource stored_publickey 'Microsoft.Compute/sshPublicKeys@2024-03-01' existing = { | ||
name: storedKey.name | ||
scope: resourceGroup(split(storedKey.id,'/')[4]) | ||
} | ||
//var public_key = autogenerateSecrets ? autogenerate_publickey.properties.generateKey : stored_publickey.properties.publicKey | ||
var public_key = stored_publickey.properties.publicKey | ||
output publicKey string = public_key | ||
//output useStoredKey bool = useStoredKey //satisfy arm-ttk | ||
|
||
var publicKey = storedPublicKey.properties.publicKey | ||
output publicKey string = publicKey |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.