Commit Graph

39 Commits

Author SHA1 Message Date
Abhinay Kumar f7f6a842e3
bug-fix: syntax error in createApplication()
setup throws an error: `az: error: unrecognized arguments: az ad app list` due to a syntax error in `createApplication()` method. This patch will fix the issue of the same.
2018-08-15 08:53:50 +05:30
andrew-best-diaxion d2e8fd4952 forces az cli to output in JSON where required
This check in forces the scipt to output in JSON when that output is being piped to jq.
2018-04-16 08:01:31 +10:00
andrew-best-diaxion e911f03b6d Revert "azure-cli output config check added"
This reverts commit 0f0fc1b99c.
2018-04-16 07:45:17 +10:00
andrew-best-diaxion 0f0fc1b99c azure-cli output config check added
Adds a check to contrib/azure-setup.sh which ensure the users azure-cli is configured to output json.
2018-04-13 14:02:55 +10:00
Mykola Marzhan 3cfbec623a handle multiple Azure accounts correctly 2018-03-30 09:23:31 +03:00
Josh Soref faf7928a41 spelling: conservative 2018-03-13 07:22:23 +00:00
Christopher Boumenot 00ed312e04 azure: fix commands, improve UX 2018-03-03 08:46:22 +00:00
SharePointOscar db1566f6d2 Merge branch 'master' of https://github.com/SharePointOscar/packer 2018-01-31 18:00:36 -08:00
SharePointOscar 59ecaee2fe implemented changes as per feedback for Azure CLI 2.0 2018-01-31 18:00:13 -08:00
Oscar Medina 361a175fc9
Removed static value from code
The parameter within the contains() should not be hard-coded, using $meta_name variable value.
2018-01-28 07:49:58 -08:00
SharePointOscar 6327ab6f3d changed verbiage on cli name 2018-01-27 12:56:43 -08:00
SharePointOscar 6770bb8091 changed verbiage on cli name 2018-01-27 12:55:16 -08:00
SharePointOscar 0868c21d13 updated to use new Azure CLI 'az' and respective commands 2018-01-27 12:49:41 -08:00
Bengt Brodersen 5280a027d8 Update _packer 2017-08-03 23:11:52 +02:00
Bengt Brodersen 40b792746a Improve Completion through better option and file completion 2017-08-02 09:18:38 +02:00
Bengt Brodersen 4cc8f25464 Update zsh completion, add file completion 2017-07-31 10:43:38 +02:00
Matthew Hooker 2fb898cddf
add sleep and retry to azure setup script 2017-04-03 17:14:27 -07:00
Eugene Chuvyrov e343ad238b Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:20:45 -08:00
Eugene Chuvyrov 9f3393f7e9 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:16:07 -08:00
Eugene Chuvyrov f7c6180ff7 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:09:23 -08:00
Eugene Chuvyrov 3ccbb6ca91 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:05:20 -08:00
Eugene Chuvyrov eb75dbb693 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:02:31 -08:00
Eugene Chuvyrov 403fe17f96 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:00:15 -08:00
Eugene Chuvyrov ab48ed3fe6 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-07 23:18:10 -08:00
Eugene Chuvyrov a5c6d3743e Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-07 23:14:15 -08:00
Eugene Chuvyrov fdbb7a0b3f Removed Azure CLI version checking 2016-11-07 23:02:05 -08:00
Matthew Hooker 2128a391e0 Merge pull request #4127 from spuder/fix/azure-setup
Abort if azure-setup.sh using incompatible cli.
2016-11-07 10:30:52 -08:00
Spencer Owen ef907282ef fixes typo 2016-11-06 17:15:25 -07:00
Spencer Owen f381d81206 Throw error if azure-setup.sh using incompatible cli. 2016-11-06 17:08:13 -07:00
Rich d36f79ac44 Changes How Azure AD Apps are Created
- Adds the required fields to `azure ad sp create` command.
- Also stores the object and client Ids.
- Removes the createApplication method and call.
- echos out the parameters in a JSON object style.
2016-08-24 11:59:21 +01:00
Rich c0140f4cb7 Adds Location to the Script
The script now asks the user for the region the resource group
and storage account will be created in.
2016-08-16 13:53:23 +01:00
Christopher Boumenot e65f0c2347 Update to support azure-cli 0.10.1.
Storage creation has changed the command line options.  The option -type
-type has changed to --sku-name, and the user must specifcy --kind.
2016-06-28 23:12:32 +00:00
Paul Meyer 163da48345 builder/azure-arm: Make tenant_id optional
Look up tenant id if not specified by the user
2016-06-23 10:23:09 -07:00
Chris Bednarski 4d7418a2dc Added sleeps to the azure-setup script so it is more likely to converge before running the next command 2016-03-14 20:08:36 -07:00
Chris Bednarski c84ae85ac1 Alphabetize azure configuration so it looks nicer 2016-03-14 20:08:35 -07:00
Chris Bednarski 507efda4f4 Finalized azure-setup for creating all of the requisite resources in the target subscription 2016-03-14 20:08:28 -07:00
Chris Bednarski 3ad8bf266a Initial work on azure-setup script 2016-03-14 20:08:27 -07:00
knakayama f103ba820c Fix zsh-completion 2016-02-15 12:28:01 +09:00
Alex Shadrin 43f86180da zsh completion 2015-04-04 13:51:59 +03:00