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

Bug: bootstrap subscription set as target for telemetry #223

Open
1 task done
jaredfholgate opened this issue Oct 21, 2024 · 0 comments
Open
1 task done

Bug: bootstrap subscription set as target for telemetry #223

jaredfholgate opened this issue Oct 21, 2024 · 0 comments
Assignees
Labels
Type: Bug 🪲 Something isn't working

Comments

@jaredfholgate
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Infrastructure as Code Type? (Required)

terraform

PowerShell Module Version (Optional)

latest

Bootstrap Module Version (Optional)

latest

Starter Module? (Required)

terraform - complete_multi_region

Starter Module Version (Optional)

latest

Input arguments of the ALZ-PowerShell-Module (Optional)

enable_telemetry: true

Debug Output/Panic Output (Optional)

No response

Expected Behaviour (Required)

Deployment is successful.

Actual Behaviour (Required)

By default, we set the bootstrap subscription as the target subscription. This results in the legacy telemetry provider trying to create a telemetry deployment to that subscription. This results in an error since it does not have the permissions required to do that if that subscription is not one of management, connectivity or identity.

Steps to Reproduce (Optional)

This is only an issue if a customer is using a 4 subscription model, rather than the standard 3 subscription model.

To resolve, we should point the default subscription to the management subscription. The deployment should not know about the bootstrap subscription anyway.

Alternative would be to apply perms, but not the correct approach.

Important Factoids (Optional)

No response

References (Optional)

No response

@jaredfholgate jaredfholgate added Needs: Triage 🔍 Needs triaging by the team Type: Bug 🪲 Something isn't working and removed Needs: Triage 🔍 Needs triaging by the team labels Oct 21, 2024
@jaredfholgate jaredfholgate self-assigned this Oct 21, 2024
@jaredfholgate jaredfholgate changed the title Bug: Bug: bootstrap subscription set as target for telemetry Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant