Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

terraform import role assignment

# PowerShell
## Simple example
terraform import -var-file="some_env.tfvars" module.aks[0].azurerm_role_assignment.virtual_machine_contributor /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/EXAMPLE-RG001/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000000

## With index 
### How to escape quotes in PS: 
terraform import resource[`"prod-service-reports.audit`"] ...
### Example:
terraform import -var-file="some_env.tfvars" module.aks[0].azurerm_role_assignment.reader[`"00000000-0000-0000-0000-000000000000`"] /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/EXAMPLE-RG001/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000000
Comment

PREVIOUS NEXT
Code Example
Shell :: zsh profile 
Shell :: linux dir one line 
Shell :: How to check the Redis version? 
Shell :: linux test port 
Shell :: use nvm to install latest node 
Shell :: install avro on linux ubuntu 
Shell :: ubuntu mysql client cli 
Shell :: Search for file using bash 
Shell :: ps aux tree 
Shell :: Zathura not working 
Shell :: vim sudo write 
Shell :: apply gitignore to current commit 
Shell :: enable docker at boot 
Shell :: php enable module 
Shell :: Powershell Core server manager module 
Shell :: ffmpeg resize video 
Shell :: install jq windows 
Shell :: how to see deleted commit git 
Shell :: linux replace spaces with underscore from all files in directory 
Shell :: add onedrive to ubuntu 
Shell :: change permissions on all files in all sub-directories 
Shell :: how t o force install a package even it is already install pip 
Shell :: install module to current directory pip 
Shell :: restart tomcat 9 ubuntu 
Shell :: Default gateway -linux 
Shell :: npm steps 
Shell :: github ssh key setup 
Shell :: install miniconda on mac 
Shell :: how to unstash git stash 
Shell :: git ignore clear 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =