#azure (2021-08)
Archive: https://archive.sweetops.com/azure/
2021-08-04
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
just curious, why aren’t there cloudposse modules for azure?
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
is there anything similar to the cloudposse AWS modules or the community supported AWS modules for azure?
![Padarn avatar](https://secure.gravatar.com/avatar/5dee11890a614838a0416b4c35c0984a.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0015-72.png)
Anyone faced errors like
Deployment failed. Correlation ID: REDACTED. Category: ClientError; SubCode: OverconstrainedAllocationRequest; Dependency: Microsoft.Compute/VirtualMachineScaleSet; OrginalError: Code="OverconstrainedAllocationRequest" Message="Allocation failed. VM(s) with the following constraints cannot be allocated, because the condition is too restrictive. Please remove some constraints and try again. Constraints applied are:\n - Low Priority VMs\n - Networking Constraints (such as Accelerated Networking or IPv6)\n - Preemptible VMs (VM might be preempted by another VM with a higher priority)\n - VM Size\n"; AKSTeam: NodeProvisioning
I am trying to add a spot instance node pool to a cluster. It seems like its due to VM availability, but I am able to create VMs of that size.
![Padarn avatar](https://secure.gravatar.com/avatar/5dee11890a614838a0416b4c35c0984a.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0015-72.png)
(just not add them as a nodepool)
2021-08-05
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
Has anybody used the CAF_solution to create landing zones on azure? Specifically using the Rover
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
@Tom Howarth yes, I’ve been testing
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
ahhh you’re on the gitter chat
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
yes, the Gitter chat that is oh so active. and has never once answered a single question of mine, hence my sarcastic comment on there :)
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
yes, I feel that, been having same experience and is very frustrating. AWS community is so supported, but Azure is ghosttown
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
and the CAF is garbage IMO….though I’m contracted to implement it
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
a ghost town on vacation too
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
have you seen this repo? https://github.com/Azure/caf-terraform-landingzones-starter
Starter project for Cloud Adoption Framework for Azure landing zones on Terraform - GitHub - Azure/caf-terraform-landingzones-starter: Starter project for Cloud Adoption Framework for Azure landing…
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
yep funny that as I too am a contracter engaged to implement it. I am just finding so many issues
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
isnit that the one that uses ARM templates?
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
no, it has TF examples with Rover
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
my issues is even more basic that than that. I have a virgin rover container and it is flatly refusing to create a launchpad.
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
telling me I need to initialise a launchpad before I can use it
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
using TF?
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
standard rover command rover -lz path -var-folder path -launchpad -parrallelism=30 -a plan -d
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
errors out with:
Error on or near line 694: You need to initialise a launchpad first with the command
rover /tf/caf/landingzones/launchpad [plan | apply | destroy] -launchpad; exiting with status 1000
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
rover -lz /tf/caf/landingzones/caf_launchpad \
-var-folder /tf/caf/configuration/${environment}/level0/launchpad \
-parallelism 30 \
-level level0 \
-env ${caf_environment} \
-launchpad \
-a [plan|apply|destroy]
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
same error
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
really odd
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
I found this to be much more helpful https://github.com/Azure/caf-terraform-landingzones-starter/tree/starter/enterpris[…]le/construction_sets/aks/online/aks_secure_baseline/landingzone
Starter project for Cloud Adoption Framework for Azure landing zones on Terraform - caf-terraform-landingzones-starter/enterprise_scale/construction_sets/aks/online/aks_secure_baseline/landingzone …
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
you’re missing something somewhere, works for me
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
cheers I will have a look at that.
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
regarding the CAF framework it is so opaque to be a brick wall. the documentation is crap, and so full of gaps.
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
For example I have not found a coherent post on how to configure the Rover. other than a single youtube video from three years ago
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
yep
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
completely unsustainable IMO…I can see how AWS pivoted to watchtower product
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
CAF isn’t a collection of resources though, so more so a framework for how to deploy. The landingzone is my main deliverable, which is essentially a subscription with policies
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
Rover does it make it easy to deploy. The separtation of TF configs from logic is sort of a good idea. The implementation of it is terrible though. No docs or mature process for using
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
yep, the separation of TF States is good, but the documenation is so poor as to be non existant.
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
it may be a better idea to move this to DM’s LOL
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
wow you got a response on Gitter
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
the azure community is a ghostown, so the more we put in public the better IMO
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
well that is an interesting error message :
Error on or near line 778: Folder /tf/caf/configuration/sandpit/level0/launchpad does not have any tfvars files.; exiting with status 1
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
check the path to the launchpad dir
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
must not be finding it
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
yet I can do a cd in to that none existent directory
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
may need to modify the path
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
I am wondering if there is an issue with the june release rover
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
did it find the tfvars files?
2021-08-06
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
@Tom Howarth FYI - after investing this CAF module a bit more, I may be abandoning the idea of using it and moving on to test the enterprise scale repo to deploy archetypes, management groups, and policies and using custom modules to deploy vnet resources and such
![kgib avatar](https://secure.gravatar.com/avatar/f7620b320356407ac8351835d925782c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
the issue with the CAF repo is nested modules and difficulty in pinning a version. So, if one module changes, it could disrupt any other module using that module. Not a risk worth taking IMO
![Tom Howarth avatar](https://avatars.slack-edge.com/2020-03-18/1010418241974_b29e6c94747b7de32415_72.jpg)
true, playing with the enterprise scale starter repo at the moment,