mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Add sample for HCL
This commit is contained in:
		
							
								
								
									
										6
									
								
								samples/HCL/example.hcl
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								samples/HCL/example.hcl
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | consul = "1.2.3.4" | ||||||
|  |  | ||||||
|  | // This is a comment | ||||||
|  | template "foo" { | ||||||
|  |   bar = "zip" | ||||||
|  | } | ||||||
							
								
								
									
										13
									
								
								samples/HCL/example.tf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								samples/HCL/example.tf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | |||||||
|  | resource "aws_instance" "web" { | ||||||
|  |   // Copies the myapp.conf file to /etc/myapp.conf | ||||||
|  |   provisioner "file" { | ||||||
|  |     source = "conf/myapp.conf" | ||||||
|  |     destination = "/etc/myapp.conf" | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   // Copies the configs.d folder to /etc/configs.d | ||||||
|  |   provisioner "file" { | ||||||
|  |     source = "conf/configs.d" | ||||||
|  |     destination = "/etc" | ||||||
|  |   } | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user