<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RBAC on NASAN</title><link>https://nasan.ch/tags/rbac/</link><description>Recent content in RBAC on NASAN</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 08 Sep 2022 10:51:21 +0100</lastBuildDate><atom:link href="https://nasan.ch/tags/rbac/index.xml" rel="self" type="application/rss+xml"/><item><title>Azure - Create a Custom RBAC Role to allow Stop - Start of all Azure Virtual Machines in a Subscription with Terraform</title><link>https://nasan.ch/posts/2022-09-08-createcustomroleterraform/</link><pubDate>Thu, 08 Sep 2022 10:51:21 +0100</pubDate><guid>https://nasan.ch/posts/2022-09-08-createcustomroleterraform/</guid><description>&lt;p&gt;Yes&amp;hellip; its annoying there is &lt;strong&gt;no built in role&lt;/strong&gt; to only allow restarting of Azure Virtual Machines&amp;hellip;
The &lt;strong&gt;Virtual Machine Contributor Role&lt;/strong&gt; allows to much. With this role you are able to destory and create VMs..&lt;/p&gt;
&lt;p&gt;So what I want to do in this case is creating a &lt;strong&gt;custom role which only allows to start / stop / restart Virtual Machines.&lt;/strong&gt;
And I want to do that with &lt;strong&gt;terraform&lt;/strong&gt; because I&amp;rsquo;m doing the whole Azure Resource Deployment with terraform anyway.&lt;/p&gt;</description></item></channel></rss>