#azure (2021-08)
Archive: https://archive.sweetops.com/azure/
2021-08-04
just curious, why aren’t there cloudposse modules for azure?
is there anything similar to the cloudposse AWS modules or the community supported AWS modules for azure?
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.
(just not add them as a nodepool)
2021-08-05
Has anybody used the CAF_solution to create landing zones on azure? Specifically using the Rover
@Tom Howarth yes, I’ve been testing
ahhh you’re on the gitter chat
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 :)
yes, I feel that, been having same experience and is very frustrating. AWS community is so supported, but Azure is ghosttown
and the CAF is garbage IMO….though I’m contracted to implement it
a ghost town on vacation too
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…
yep funny that as I too am a contracter engaged to implement it. I am just finding so many issues
isnit that the one that uses ARM templates?
no, it has TF examples with Rover
my issues is even more basic that than that. I have a virgin rover container and it is flatly refusing to create a launchpad.
telling me I need to initialise a launchpad before I can use it
using TF?
standard rover command rover -lz path -var-folder path -launchpad -parrallelism=30 -a plan -d
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
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]
same error
really odd
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 …
you’re missing something somewhere, works for me
cheers I will have a look at that.
regarding the CAF framework it is so opaque to be a brick wall. the documentation is crap, and so full of gaps.
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
yep
completely unsustainable IMO…I can see how AWS pivoted to watchtower product
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
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
yep, the separation of TF States is good, but the documenation is so poor as to be non existant.
it may be a better idea to move this to DM’s LOL
wow you got a response on Gitter
the azure community is a ghostown, so the more we put in public the better IMO
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
check the path to the launchpad dir
must not be finding it
yet I can do a cd in to that none existent directory
may need to modify the path
I am wondering if there is an issue with the june release rover
did it find the tfvars files?
2021-08-06
@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
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
true, playing with the enterprise scale starter repo at the moment,