-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm_bastion_host
- support new SKU Premium
and session_recording_enabled property
#27278
Conversation
azurerm_bastion_host
- support new SKU Premium
and feature Session recordingazurerm_bastion_host
- support new SKU Premium
and feature Session recording
This comment was marked as resolved.
This comment was marked as resolved.
3120c2b
to
816ba1a
Compare
816ba1a
to
23bc076
Compare
23bc076
to
7dc6587
Compare
7dc6587
to
e35d71f
Compare
e35d71f
to
aab4cc6
Compare
aab4cc6
to
e7b102c
Compare
The CI failing because of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like we have a test failure here:
------- Stdout: -------
=== RUN TestAccBastionHost_premiumSku
=== PAUSE TestAccBastionHost_premiumSku
=== CONT TestAccBastionHost_premiumSku
testcase.go:130: Step 1/3 error: Error running apply: exit status 1
Error: `session_recording_enabled` is only supported when `sku` is `Premium`
with azurerm_bastion_host.test,
on terraform_plugin_test.tf line 58, in resource "azurerm_bastion_host" "test":
58: resource "azurerm_bastion_host" "test" {
--- FAIL: TestAccBastionHost_premiumSku (158.69s)
FAIL
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Error was when this was == and not !=
https://github.com/T0biii/terraform-provider-azurerm/blob/add-bastion-premium/internal/services/network/bastion_host_resource.go#L220
https://github.com/T0biii/terraform-provider-azurerm/blob/add-bastion-premium/internal/services/network/bastion_host_resource.go#L374
fixed it thanks for the hint, also rebased on main to get the fixed CI run for Vendor Dependencies Check / depscheck
e7b102c
to
4e25386
Compare
4e25386
to
653b18a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Than ks LGTM 🌻
azurerm_bastion_host
- support new SKU Premium
and feature Session recording
azurerm_bastion_host
- support new SKU Premium
and session_recording_enabled property
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Community Note
Description
We want to use Bastion Premium and the feature session recording
PR Checklist
For example: “
resource_name_here
- description of change e.g. adding propertynew_property_name_here
”Changes to existing Resource / Data Source
Testing
currently have no test subscriptionand also i think #27277 needs to be merged firstChange Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_bastion_host
- support new SKUPremium
and featureSession recording
This is a (please select all that apply):
Related Issue(s)
Fixes #27013
#27277 needs to be merged first
Note
If this PR changes meaningfully during the course of review please update the title and description as required.