GithubHelp home page GithubHelp logo

ad0--vm--tf's Introduction

1= In this case we already have a virtual network with RG in azure portal and a anothe rRG with state file so we are fetching those using data block 2= We are creating a RG and a NIc and a VM here

AD0--VM--tfScreenshot 2024-07-25 at 4 07 02 AM

Screenshot 2024-07-25 at 4 07 40 AM Screenshot 2024-07-25 at 4 08 16 AM Screenshot 2024-07-25 at 4 09 23 AM Screenshot 2024-07-25 at 4 10 07 AM

**ADded these things **

1= Azure portal service principal create in auzre CLI

az account show az account set --subscription="nameofsubscription"

az ad sp ado --name MyServicePrincipalName --role Contributor --scopes /subscriptions/1b996d81-8d39-47ee-bc3c-436b7f6214fe

az ad sp create-for-rbac --name AdoSP --role Contributor --scopes /subscriptions/1b996d81-8d39-47ee-bc3c-436b7f6214fe { "appId": "**********", / Client ID (Application ID) "displayName": "AdoSP", "password": "-", // Client Secret "tenant": "” // Tenant ID }image

3= Service principal authenticate to ADO give ADO contibutor access

Screenshot 2024-07-25 at 4 15 38 AM Screenshot 2024-07-25 at 4 16 03 AM Screenshot 2024-07-25 at 4 16 31 AM Screenshot 2024-07-25 at 4 12 32 AM Screenshot 2024-07-25 at 4 14 52 AM

4= Pipelines -> library -> variable group create and added SP values Screenshot 2024-07-25 at 4 17 27 AM

Screenshot 2024-07-25 at 4 17 52 AM

5=

Agent configure Screenshot 2024-07-25 at 4 21 31 AM

Added 2 values in both and save

Screenshot 2024-07-25 at 4 21 43 AM

2= error while running terraform plan and apply az feature register --namespace Microsoft.Compute --name EncryptionAtHost --subscription 1b996d81-8d39-47ee-bc3c-436b7f6214fe

az provider register --namespace Microsoft.Compute --subscription 1b996d81-8d39-47ee-bc3c-436b7f6214feimage

ad0--vm--tf's People

Contributors

sshivanijoshi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.