#azure (2021-08)

azure

Archive: https://archive.sweetops.com/azure/

2021-08-06

kgib avatar

@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

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
Tom Howarth

true, playing with the enterprise scale starter repo at the moment,

2021-08-05

Tom Howarth avatar
Tom Howarth

Has anybody used the CAF_solution to create landing zones on azure? Specifically using the Rover

kgib avatar

@Tom Howarth yes, I’ve been testing

kgib avatar

ahhh you’re on the gitter chat

Tom Howarth avatar
Tom Howarth

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

yes, I feel that, been having same experience and is very frustrating. AWS community is so supported, but Azure is ghosttown

kgib avatar

and the CAF is garbage IMO….though I’m contracted to implement it

Tom Howarth avatar
Tom Howarth

a ghost town on vacation too

kgib avatar
GitHub - Azure/caf-terraform-landingzones-starter: Starter project for Cloud Adoption Framework for Azure landing zones on Terraform attachment image

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
Tom Howarth

yep funny that as I too am a contracter engaged to implement it. I am just finding so many issues

Tom Howarth avatar
Tom Howarth

isnit that the one that uses ARM templates?

kgib avatar

ha! Yea MS gave our client $25k to do it

1
kgib avatar

no, it has TF examples with Rover

Tom Howarth avatar
Tom Howarth

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
Tom Howarth

telling me I need to initialise a launchpad before I can use it

kgib avatar

using TF?

Tom Howarth avatar
Tom Howarth

standard rover command rover -lz path -var-folder path -launchpad -parrallelism=30 -a plan -d

Tom Howarth avatar
Tom Howarth

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
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
Tom Howarth

same error

Tom Howarth avatar
Tom Howarth

really odd

kgib avatar
caf-terraform-landingzones-starter/enterprise_scale/construction_sets/aks/online/aks_secure_baseline/landingzone at starter · Azure/caf-terraform-landingzones-starter attachment image

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

you’re missing something somewhere, works for me

Tom Howarth avatar
Tom Howarth

cheers I will have a look at that.

Tom Howarth avatar
Tom Howarth

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
Tom Howarth

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

yep

kgib avatar

completely unsustainable IMO…I can see how AWS pivoted to watchtower product

kgib avatar

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

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
Tom Howarth

yep, the separation of TF States is good, but the documenation is so poor as to be non existant.

Tom Howarth avatar
Tom Howarth

it may be a better idea to move this to DM’s LOL

Tom Howarth avatar
Tom Howarth

wow you got a response on Gitter

kgib avatar

the azure community is a ghostown, so the more we put in public the better IMO

Tom Howarth avatar
Tom Howarth

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

check the path to the launchpad dir

kgib avatar

must not be finding it

Tom Howarth avatar
Tom Howarth

yet I can do a cd in to that none existent directory

kgib avatar

may need to modify the path

Tom Howarth avatar
Tom Howarth

I am wondering if there is an issue with the june release rover

kgib avatar

did it find the tfvars files?

2021-08-04

kgib avatar

just curious, why aren’t there cloudposse modules for azure?

kgib avatar

is there anything similar to the cloudposse AWS modules or the community supported AWS modules for azure?

Padarn avatar
Padarn

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
Padarn

(just not add them as a nodepool)

    keyboard_arrow_up