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

Fixed return values in azure_rm_loganalyticsworkspace test cases #1129

Merged
merged 1 commit into from
Mar 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
- output.retention_in_days == 30
# - output.intelligence_packs | json_query('[?name == `Backup`].enabled') | first == true
# - output.intelligence_packs | json_query('[?name == `Containers`].enabled') | first == true
- output.sku == 'pergb2018'
- output.sku == 'per_gb2018'
- output.tags.key1 == 'value1'

- name: Update Log Analytics Workspace
Expand Down Expand Up @@ -96,7 +96,7 @@
- facts.workspaces[0].usages is defined
- facts.workspaces[0].usages | length > 0
- facts.workspaces[0].management_groups is defined
- facts.workspaces[0].sku == 'pergb2018'
- facts.workspaces[0].sku == 'per_gb2018'

- name: Get Log Analytics workspace information (Show default information)
azure_rm_loganalyticsworkspace_info:
Expand All @@ -113,7 +113,7 @@
- facts.workspaces[0].shared_keys is not defined
- facts.workspaces[0].usages is not defined
- facts.workspaces[0].management_groups is not defined
- facts.workspaces[0].sku == 'pergb2018'
- facts.workspaces[0].sku == 'per_gb2018'

- name: Create Log Analytics workspace (Test Idempotence)
azure_rm_loganalyticsworkspace:
Expand Down