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

Add sub array logic to only assign role once per unique sub #143

Merged
merged 6 commits into from
Apr 5, 2021

Conversation

Phydeauxman
Copy link
Contributor

Description

Added logic to create array of unique subscription IDs passed in via option arguments when executing setup_ezdeploy script

Issue reference

The issue this PR will close: #120

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles or validates correctly
  • BASH scripts have been validated using shellcheck
  • All tests pass (manual and automated)
  • The documentation is updated to cover any new or changed features
  • Markdown files have been linted using the recommended linter. (See .vscode/extensions.json.)
  • Relevant issues are linked to this PR

combined with code that adds wait for resource existence
src/scripts/config/mlz_config_create.sh Outdated Show resolved Hide resolved
src/scripts/setup_ezdeploy.sh Outdated Show resolved Hide resolved
@Phydeauxman Phydeauxman merged commit 7e3cf17 into main Apr 5, 2021
@Phydeauxman Phydeauxman deleted the byboudre/ezd_setup_subs branch April 5, 2021 16:15
jwaltireland pushed a commit to ARPA-H/AzureMissionLZ that referenced this pull request Nov 14, 2024
* - Added function to process sub IDs

* - Removed set -e. Causes inconsistent behavior when
combined with code that adds wait for resource existence

* - Changed name of sub function

* - Re-added set -e
- Updated sub array function name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setup_ezdeploy.sh attempts to set the role assignment on same sub multiple times
2 participants