Skip to content

Commit dd42129

Browse files
committed
Update importer version to 1.0.0-beta3
1 parent 8853824 commit dd42129

File tree

4 files changed

+21
-11
lines changed

4 files changed

+21
-11
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ FROM alpine:latest
33

44
ARG TARGETARCH=amd64
55
ARG TARGETOS=linux
6-
ARG POLYTOMIC_IMPORTER_VERSION=0.3.26
6+
ARG POLYTOMIC_IMPORTER_VERSION=1.0.0-beta3
77

88
RUN apk add --no-cache \
9-
bash \
10-
ca-certificates \
11-
curl \
9+
bash \
10+
ca-certificates \
11+
curl \
1212
&& curl -sLo polytomic-importer.zip \
1313
https://github.com/polytomic/terraform-provider-polytomic/releases/download/v${POLYTOMIC_IMPORTER_VERSION}/polytomic_importer_${POLYTOMIC_IMPORTER_VERSION}_${TARGETOS}_${TARGETARCH}.zip \
1414
&& unzip -p \
1515
polytomic-importer.zip \
1616
polytomic_importer_v${POLYTOMIC_IMPORTER_VERSION} > /polytomic-importer \
17-
&& chmod +x /polytomic-importer
17+
&& chmod +x /polytomic-importer
1818

1919
# Copies your code file repository to the filesystem
2020
COPY entrypoint.sh /entrypoint.sh

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
# terraform-export-gh-action
1+
# terraform-export-gh-action
2+
3+
The `polytomic/terraform-export-gh-action` action exports Polytomic resources to
4+
Terraform HCL.
5+
6+
See https://github.com/polytomic/terraform-sync-template for a template
7+
repository that configures the action and uses it to create pull requests for
8+
changes.

action.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
# action.yml
22
name: "Polytomic Terraform Sync"
3-
description: "Syncs polytomic resources into HCL"
3+
description: "Syncs Polytomic resources to HCL"
4+
branding:
5+
icon: "archive"
6+
color: "purple"
47
inputs:
58
api_key:
69
description: "Polytomic API key"
710
required: true
811
output_dir:
9-
description: "Directory to output HCL files to"
12+
description: "Output directory for exported HCL"
1013
required: false
1114
default: "terraform"
1215
url:
13-
description: "URL to the polytomic API"
16+
description: "Polytomic deployment URL"
1417
required: false
15-
default: "app.polytomic.com"
18+
default: "https://app.polytomic.com"
1619
runs:
1720
using: "docker"
1821
image: "Dockerfile"

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DIR=$2
77
URL=$3
88

99
# Run the polytomic importer
10-
echo "Running polytomic importer"
10+
echo "Running Polytomic importer"
1111

1212
# Generate HCL from the app
1313
/polytomic-importer run \

0 commit comments

Comments
 (0)