Skip to content
This repository was archived by the owner on Dec 5, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
bffc3bf
v2: Update Provider to use Ignition v2.1.1
LorbusChris Jan 18, 2020
6e41329
Update vendor
LorbusChris Jan 18, 2020
5a7279e
Add overwrite arg to files, dirs and links
LorbusChris Feb 14, 2020
a731784
Update vendor
LorbusChris May 9, 2020
f923eb1
Update provider to use Ignition Spec v3.1
LorbusChris May 9, 2020
23e8f3a
Fixups for errcheck
LorbusChris May 9, 2020
ccc4256
Merge pull request #1 from LorbusChris/spec31
LorbusChris May 9, 2020
4049b09
Add build release script
yussufsh Oct 1, 2020
5aff61a
Merge pull request #2 from yussufsh/build
LorbusChris Oct 1, 2020
6ab6f20
Add workflow and releaser for registry setup (#3)
yussufsh Oct 3, 2020
41efdee
update doc to comply with HCLv2 and Ignition v2 (#5)
egeturgay Mar 3, 2021
47ff90a
Replace docs for `append` with `merge`
LorbusChris Mar 3, 2021
5eba167
Remove Changelog
LorbusChris Mar 3, 2021
fcd5618
Update module path
LorbusChris Mar 3, 2021
f064f57
Merge pull request #11 from LorbusChris/v2-cleanup
bgilbert Mar 3, 2021
b0f9e42
Issue 17: Docs don't match provider implementation (#18)
nccurry Jan 5, 2022
e09f7e5
Re-vendor golang.org/x/sys (#19)
yselkowitz May 12, 2022
b0dc635
gofmt for Go 1.18 (#24)
bgilbert Aug 23, 2022
71ef143
Add support for darwin_arm64
yussufsh Aug 22, 2022
6f60698
Update go version
yussufsh Aug 23, 2022
26555a4
Update vendor
yussufsh Aug 23, 2022
3b4bbcc
go lint and build gates
yussufsh Aug 12, 2023
4ff944c
fix lint errors
yussufsh Aug 12, 2023
84ef6ea
Add kernelArguments
mathlu Aug 11, 2023
331f443
update the ignition/config spec versions in docs
yussufsh Aug 22, 2023
833ab9c
doc updates for kernel arguments
yussufsh Aug 22, 2023
3c462da
cleanup go vendor dir
yussufsh Aug 22, 2023
23591ab
add support for httpHeaders
yussufsh Aug 22, 2023
e5dedbe
update doc for http_headers
yussufsh Aug 22, 2023
31d1c5e
Bump golang.org/x/text from 0.3.3 to 0.3.8
dependabot[bot] Aug 31, 2023
522e57a
Bump github.com/aws/aws-sdk-go from 1.30.28 to 1.34.0
dependabot[bot] Aug 31, 2023
126ad35
Bump golang.org/x/crypto from 0.0.0-20200429183012-4b2356b1ed79 to 0.1.0
dependabot[bot] Aug 31, 2023
078558d
Bump github.com/coreos/ignition/v2 from 2.11.0 to 2.14.0
dependabot[bot] Aug 31, 2023
7c7209c
Bump golang.org/x/net from 0.0.0-20200602114024-627f9648deb9 to 0.7.0
dependabot[bot] Aug 31, 2023
999e215
Bump github.com/ulikunitz/xz from 0.5.7 to 0.5.8
dependabot[bot] Aug 31, 2023
b6a136a
Create dependabot.yml
yussufsh Aug 31, 2023
356ac92
Bump github.com/kisielk/errcheck from 1.2.0 to 1.6.3
dependabot[bot] Aug 31, 2023
ca27f19
Bump github.com/hashicorp/terraform-plugin-sdk from 1.12.0 to 1.17.2
dependabot[bot] Aug 31, 2023
5cd9afe
Bump github.com/hashicorp/go-getter
dependabot[bot] Aug 31, 2023
f63f8f2
Bump github.com/Masterminds/goutils from 1.1.0 to 1.1.1
dependabot[bot] Aug 31, 2023
36cefff
Update index page with version details
yussufsh Aug 31, 2023
1c7e49a
Bump github.com/coreos/ignition/v2 from 2.14.0 to 2.16.2
dependabot[bot] Sep 4, 2023
7ae663d
Bump github.com/coreos/vcontext from v0.0.0-20230201181013-d72178a186…
yussufsh Sep 4, 2023
af412bb
Upgrade ignition spec to v3.4
yussufsh Sep 5, 2023
05a00b7
Add missing compression in ignition config
yussufsh Sep 5, 2023
545eca7
Update docs for verification description
yussufsh Sep 5, 2023
c5e4ff5
fix error messages for length checks in tests
yussufsh Sep 5, 2023
a8c8574
ignition_file: add support for http_headers
yussufsh Sep 5, 2023
ae403ee
Add support for security tls CAs
yussufsh Sep 5, 2023
d5b45fe
Update index page with version details
yussufsh Sep 5, 2023
24284c2
Replace deprecated goreleaser option --rm-dist with --clean
yussufsh Sep 5, 2023
6772437
Allow dependabot to upgrade github-actions
yussufsh Sep 5, 2023
6f6fe38
Bump actions/checkout from 3 to 4
dependabot[bot] Sep 5, 2023
27cf46c
Bump actions/setup-go from 3 to 4
dependabot[bot] Sep 5, 2023
3f27acd
Upgrade go v1.20
yussufsh Sep 5, 2023
bec16e9
Add timeout for golangci-lint action
yussufsh Sep 5, 2023
4146a42
Bump goreleaser/goreleaser-action from 4 to 5
dependabot[bot] Oct 1, 2023
82ddf45
Bump crazy-max/ghaction-import-gpg from 5 to 6
dependabot[bot] Oct 1, 2023
87e00fb
Bump golang.org/x/net from 0.12.0 to 0.17.0
dependabot[bot] Oct 11, 2023
cb2fe79
Bump google.golang.org/grpc from 1.56.1 to 1.56.3
dependabot[bot] Oct 25, 2023
0e428d6
Add support for luks resource (#63)
n0rad Nov 23, 2023
18bcf92
Bump github.com/coreos/ignition/v2 from 2.16.2 to 2.17.0
dependabot[bot] Nov 27, 2023
48d8c76
Update Terraform plugin SDK v2
yussufsh Dec 6, 2023
73f621a
Fix variable type in tests
yussufsh Dec 6, 2023
c4908d3
Bump golang.org/x/crypto from 0.15.0 to 0.17.0
dependabot[bot] Dec 19, 2023
41a6c26
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.30.0 to 2.31.0
dependabot[bot] Dec 20, 2023
67dc117
Update version details for ignition 2.17.0
yussufsh Dec 20, 2023
8b9e74f
Bump actions/setup-go from 4 to 5
dependabot[bot] Jan 1, 2024
71ffceb
Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7
dependabot[bot] Jan 8, 2024
db08fe5
Bump github.com/kisielk/errcheck from 1.6.3 to 1.7.0
dependabot[bot] Feb 12, 2024
2a7ecb5
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.31.0 to 2.32.0
dependabot[bot] Feb 21, 2024
665038e
Bump golangci/golangci-lint-action from 3 to 4
dependabot[bot] Mar 1, 2024
ececf94
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.32.0 to 2.33.0
dependabot[bot] Feb 26, 2024
768f0ab
Bump github.com/coreos/ignition/v2 from 2.17.0 to 2.18.0
dependabot[bot] Mar 11, 2024
a75088c
Bump google.golang.org/protobuf from 1.32.0 to 1.33.0
dependabot[bot] Mar 13, 2024
4e835fd
Bump golangci/golangci-lint-action from 4 to 5
dependabot[bot] May 1, 2024
fa78daf
Bump golang.org/x/net from 0.21.0 to 0.23.0 in the go_modules group
dependabot[bot] Apr 19, 2024
1bb816a
Add missing mount_options parameter in filesystem
X-Cli May 15, 2024
cc162a6
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.33.0 to 2.34.0
dependabot[bot] May 20, 2024
0ee2139
Bump golangci/golangci-lint-action from 5 to 6
dependabot[bot] Jun 1, 2024
a8270f2
Bump goreleaser/goreleaser-action from 5 to 6
dependabot[bot] Jul 1, 2024
b589001
Bump the go_modules group with 2 updates
dependabot[bot] Mar 10, 2025
02f8830
Bump github.com/coreos/ignition/v2 from 2.18.0 to 2.20.0
dependabot[bot] Mar 10, 2025
9f2c023
Upgrade go version
yussufsh Mar 10, 2025
a24995f
Update index for include 2.18.0 ignition version
yussufsh Mar 10, 2025
2c674ed
Update index for include 2.20.0 ignition version
yussufsh Mar 10, 2025
b73e3f6
Bump golang.org/x/net from 0.30.0 to 0.33.0 in the go_modules group
dependabot[bot] Mar 10, 2025
f311c3e
Fix go releaser
yussufsh Mar 10, 2025
68f4706
Add terraform-registry-manifest file
yussufsh Mar 10, 2025
a9a1535
Add missing partitions specs
yussufsh Mar 10, 2025
d948238
Bump github.com/kisielk/errcheck from 1.7.0 to 1.9.0
dependabot[bot] Mar 10, 2025
97c22e8
Update support for 3.5 ignition spec
yussufsh Mar 11, 2025
5997499
Add raid options
yussufsh Mar 11, 2025
aa3ca93
Correct implementation for files.contents
yussufsh Mar 11, 2025
ec7e4b2
Bump golang.org/x/net from 0.35.0 to 0.36.0 in the go_modules group
dependabot[bot] Mar 13, 2025
2fdd230
Bump actions/checkout from 4 to 5
dependabot[bot] Oct 1, 2025
fdf6707
Bump actions/setup-go from 5 to 6
dependabot[bot] Oct 1, 2025
dca36e7
Allow using user/group instead of uid/gid for directory, file and link
fhemberger Jul 2, 2025
e6fadaa
Bump golang.org/x/net from 0.36.0 to 0.38.0 in the go_modules group
dependabot[bot] Apr 16, 2025
df3bce0
Fix for linter issue
yussufsh Dec 24, 2025
1ffdf79
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.34.0 to 2.38.1
dependabot[bot] Dec 24, 2025
ea884b7
Bump github.com/coreos/ignition/v2 from 2.20.0 to 2.25.0
dependabot[bot] Dec 24, 2025
3633df6
Fix linter issues QF1001 and QF1008
yussufsh Dec 24, 2025
a224308
Bump golangci/golangci-lint-action from 6 to 8
dependabot[bot] Dec 24, 2025
701c0a7
fix code scan alert: Workflow does not contain permissions
yussufsh Dec 24, 2025
6b20977
update the ignition version in docs
yussufsh Dec 24, 2025
099e9ff
Bump github.com/coreos/ignition/v2 from 2.25.0 to 2.25.1
dependabot[bot] Dec 29, 2025
2bbf20f
Bump actions/checkout from 5 to 6
dependabot[bot] Jan 1, 2026
479277d
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.38.1 to 2.38.2
dependabot[bot] Feb 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: weekly
assignees:
- yussufsh

- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
assignees:
- yussufsh
41 changes: 41 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Go

on:
push:
branches: [v2]
pull_request:
branches: [v2]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
env:
GO111MODULE: on

steps:
- uses: actions/checkout@v6

- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod

- name: Lint
uses: golangci/golangci-lint-action@v9
with:
version: latest
args: --timeout=10m

- name: Run go Security Scanner
uses: securego/gosec@master
with:
args: ./...

- name: Build
run: go build -v ./...

- name: Test
run: go test -v `go list ./...`
50 changes: 50 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This uses an action (hashicorp/ghaction-import-gpg) that assumes you set your
# private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
# secret. If you would rather own your own GPG handling, please fork this action
# or use an alternative one for key handling.
#
# You will need to pass the `--batch` flag to `gpg` in your signing step
# in `goreleaser` to indicate this is being used in a non-interactive mode.
#
name: Release

# This GitHub action creates a release when a tag that matches the pattern
# "v*" (e.g. v0.1.0) is created.
on:
push:
tags:
- 'v*'

# Releases need permissions to read and write the repository contents.
# GitHub considers creating releases and uploading assets as writing contents.
permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
# Allow goreleaser to access older tag information.
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
id: import_gpg
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
args: release --clean
env:
# GitHub sets the GITHUB_TOKEN secret automatically.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
61 changes: 61 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
version: 2
before:
hooks:
# this is just an example and not a requirement for provider building/publishing
- go mod tidy
builds:
- env:
# goreleaser does not work with CGO, it could also complicate
# usage by users in CI/CD systems like HCP Terraform where
# they are unable to install libraries.
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
goos:
- freebsd
- windows
- linux
- darwin
goarch:
- amd64
- '386'
- arm
- arm64
ignore:
- goos: darwin
goarch: '386'
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
extra_files:
- glob: 'terraform-registry-manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256
signs:
- artifacts: checksum
args:
# if you are using this in a GitHub action or some other automated pipeline, you
# need to pass the batch flag to indicate its not interactive.
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"
release:
extra_files:
- glob: 'terraform-registry-manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
# If you want to manually examine the release before its live, uncomment this line:
# draft: true
changelog:
disable: true
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
- docker
language: go
go:
- "1.13.x"
- "1.18.x"

install:
# This script is used by the Travis build to install a cookie for
Expand Down
65 changes: 0 additions & 65 deletions CHANGELOG.md

This file was deleted.

3 changes: 3 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ default: build
build: fmtcheck
go install

release: fmtcheck
@sh -c "'$(CURDIR)/scripts/build.sh'"

test: fmtcheck
go test -i $(TEST) || exit 1
echo $(TEST) | \
Expand Down
16 changes: 3 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
Terraform Provider
==================

- Website: https://www.terraform.io
- [![Gitter chat](https://badges.gitter.im/hashicorp-terraform/Lobby.png)](https://gitter.im/hashicorp-terraform/Lobby)
- Mailing list: [Google Groups](http://groups.google.com/group/terraform-tool)

<img src="https://cdn.rawgit.com/hashicorp/terraform-website/master/content/source/assets/images/logo-hashicorp.svg" width="600px">

Requirements
------------

Expand All @@ -16,23 +10,19 @@ Requirements
Building The Provider
---------------------

Clone repository to: `$GOPATH/src/github.com/terraform-providers/terraform-provider-ignition`
Clone repository to: `$GOPATH/src/github.com/community-terraform-providers/terraform-provider-ignition`

```sh
$ git clone git@github.com:terraform-providers/terraform-provider-ignition $GOPATH/src/github.com/terraform-providers/terraform-provider-ignition
$ git clone git@github.com:community-terraform-providers/terraform-provider-ignition $GOPATH/src/github.com/community-terraform-providers/terraform-provider-ignition
```

Enter the provider directory and build the provider

```sh
$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-ignition
$ cd $GOPATH/src/github.com/community-terraform-providers/terraform-provider-ignition
$ make build
```

Using the provider
----------------------
## Fill in for each provider

Developing the Provider
---------------------------

Expand Down
Loading