File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ terraform  {
2+   required_providers  {
3+     bytebase  =   {
4+       version =  " 1.0.18" 
5+       #  For local development, please use "terraform.local/bytebase/bytebase" instead
6+       source =  " registry.terraform.io/bytebase/bytebase" 
7+     }
8+   }
9+ }
10+ 
11+ provider  "bytebase"  {
12+   #  You need to replace the account and key with your Bytebase service account.
13+   service_account  =  " [email protected] "  14+   service_key      =  " bbs_BxVIp7uQsARl8nR92ZZV" 
15+   #  The Bytebase service URL. You can use the external URL in production.
16+   #  Check the docs about external URL: https://www.bytebase.com/docs/get-started/install/external-url
17+   url  =  " https://bytebase.example.com" 
18+ }
19+ 
20+ data  "bytebase_role_list"  "all"  {
21+ }
22+ 
23+ output  "all_roles"  {
24+   value  =   data. bytebase_role_list . all 
25+ }
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments