Feiyu Shi
c016f3752a
upgrade SIG source api-version to match identity api-version to avoid potential setback for identity
2020-05-26 16:08:00 -07:00
Feiyu Shi
79ac5bb4a4
fix go.mod/go.sum
2020-05-25 12:48:42 -07:00
Feiyu Shi
3fdab998f8
check error
2020-05-25 12:33:33 -07:00
Feiyu Shi
9bd19df040
validate if user assigned identity exists
2020-05-24 19:05:46 -07:00
Feiyu Shi
430fac1a2b
import github.com/Azure/azure-sdk-for-go/services/msi/mgmt/2018-11-30/msi
2020-05-24 19:05:45 -07:00
Feiyu Shi
b334458b91
use empty struct for UserAssignedIdentities map value; omitempty
2020-05-24 19:05:45 -07:00
Feiyu Shi
c5e2eff847
change to []*Resource
2020-05-24 19:05:45 -07:00
Feiyu Shi
3e3fdaa24e
make generate
2020-05-24 19:05:45 -07:00
Feiyu Shi
76a7ab25e2
add SetIdentity test
2020-05-24 19:05:45 -07:00
Feiyu Shi
764f99ec7b
add correct api-version
2020-05-24 19:05:45 -07:00
Feiyu Shi
f7f033a7fd
add config validation test
2020-05-24 19:05:45 -07:00
Feiyu Shi
10b0a4548f
add identity resource id validation
2020-05-24 19:05:45 -07:00
Feiyu Shi
7c1a62dfed
set identity field in the template
2020-05-24 19:05:45 -07:00
Feiyu Shi
d9c9bfbae8
add identity field to the template
2020-05-24 19:05:45 -07:00
Feiyu Shi
b5b2982772
add user_assigned_managed_identities to the config
2020-05-24 19:05:45 -07:00
Megan Marsh
688ed63edf
update changelog
2020-05-21 11:42:28 -07:00
Megan Marsh
8f73a44410
stop failing flaky test until I can fix it
2020-05-21 10:24:42 -07:00
Megan Marsh
334f399ee3
Merge pull request #9040 from hashicorp/powershell-exit-code-fix-4916
...
provisioner/powershell: Update default execute command to handle script errors
2020-05-21 09:55:25 -07:00
Megan Marsh
45a5d28bad
Merge pull request #9159 from rgl/feature-qemu-add-support-for-network-bridge
...
qemu: add support for using a network bridge
2020-05-21 09:52:49 -07:00
Megan Marsh
082d806b1f
fix httpip acquisition
2020-05-21 09:39:54 -07:00
Wilken Rivera
2e326ef334
Switch back to call operator as opposed to dot sourcing
...
* Ensure child scope doesn't conflict with parent scope
* Add elevated user options to tests case.
2020-05-21 09:07:55 -04:00
Wilken Rivera
38f799df3e
Add conditional to check if LastExitCode is defined
...
* Add broken requires statement test case
* Add test case to reproduce invalid LastExitCode
2020-05-21 09:07:43 -04:00
Wilken Rivera
35df3914d2
provisioner/powershell: Update default execute command to handle script errors
...
This change sets the ErrorActionPreference and wraps the script execution in a Try/Catch statement so that the provisioner can capture any errors encountered when running the script. In addition to the try/catch the `&` operator is replaced by the `.` sourcing operator to ensure the script is executed in the same scope as the parent command (so that errors bubble up properly).
Tests after change
```
⇶ ACC_TEST_BUILDERS=amazon-ebs ACC_TEST_PROVISIONERS=powershell go test ./provisioner/powershell/... -timeout=1h
ok github.com/hashicorp/packer/provisioner/powershell 915.865s
```
2020-05-21 09:05:43 -04:00
Wilken Rivera
13e0c1a097
tests/provisioner/powershell: Add acceptance test to reproduce issue 4916
2020-05-21 09:05:43 -04:00
Rui Lopes
06fad6cc4f
qemu: add support for using a network bridge
2020-05-20 16:46:32 -07:00
Megan Marsh
6ad67f6800
update changelog
2020-05-20 15:10:40 -07:00
Megan Marsh
b3ece95f27
Merge pull request #9254 from ad-m/hyperone-builder-hcl
...
HCL compliance for HyperOne builder
2020-05-20 13:15:21 -07:00
Megan Marsh
782342a707
Merge pull request #9202 from overdrive3000/improve-secrets-manager
...
Add support for specifying key to fetch from AWS Secrets Manager
2020-05-20 13:13:28 -07:00
Sylvia Moss and Megan Marsh
be9dbaacd7
Interpolate generatedData in the Inspec provisioner ( #9262 )
...
* Interpolate generatedData in the Inspec provisioner
* Add inspec license section to inspec docs
* add user arg if user config it not empty
* increase resource size for check-lint pipeline
* update changelog
* Update provisioner/inspec/provisioner.go
* Update provisioner/inspec/provisioner.go
Co-authored-by: Megan Marsh <[email protected] >
2020-05-20 15:43:41 -04:00
Wilken Rivera
c084be974b
Merge pull request #9264 from hashicorp/update-cty-funcs
...
Update github.com/hashicorp/go-cty-funcs to master
2020-05-20 15:10:09 -04:00