Skip to content

Commit 64aeebd

Browse files
committed
Update README
This commit... 1. replaces screenshot by a preview. 2. Tweaks package description ... to match style of various other packages.
1 parent 9c370b1 commit 64aeebd

File tree

5 files changed

+38
-9
lines changed

5 files changed

+38
-9
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.gitignore export-ignore
55

66
# screenshots
7-
screenshot.png export-ignore
7+
preview.* export-ignore
88

99
# development
1010
tests/ export-ignore

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
Terraform Syntax Highlighting and Snippets
2-
==========================================
1+
# Terraform
32

4-
This [Sublime Text][] package provides basic support for Terraform's
5-
[custom `.tf` file type][.tf], along with snippets for each of the basic
6-
Terraform resource types.
3+
[Terraform][.tf] configuration file syntax definitions and snippets for [Sublime Text][].
74

8-
![Syntax highlighting screenshot](screenshot.png)
5+
![preview](preview.png)
96

107

11-
Installation
12-
------------
8+
## Installation
139

1410
### Using Package Control
1511

preview.png

53.4 KB
Loading

preview.tf

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#----------------------------------------------------------------------
2+
# Project API
3+
#----------------------------------------------------------------------
4+
5+
resource "aws_instance" "api" {
6+
7+
count = "${var.api_count}"
8+
9+
connection {
10+
user = "ubuntu",
11+
key_file = "${var.key_path}"
12+
}
13+
provider "remote-exec" {
14+
inline = [
15+
# Run inline commands
16+
]
17+
}
18+
}
19+
20+
/*
21+
* This is the API public DNS address
22+
*/
23+
output "api-public" {
24+
value = "${aws_instance.api.public_dns}"
25+
}
26+
27+
variable "name" {
28+
type = string
29+
description = "describe your variable"
30+
}
31+
32+
33+

screenshot.png

-109 KB
Binary file not shown.

0 commit comments

Comments
 (0)