Skip to content

Commit

Permalink
fix: forgot to change the name of the provider file in the template
Browse files Browse the repository at this point in the history
  • Loading branch information
gambol99 committed Sep 2, 2024
1 parent 753c3cd commit 81ec7e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/assets/job.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ spec:
items:
- key: backend.tf
path: backend.tf
- key: provider.tf
path: provider.tf
- key: provider.tf.json
path: provider.tf.json
{{- if .EnableVariables }}
- key: variables.tfvars.json
path: variables.tfvars.json
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/configuration/reconcile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,7 @@ terraform {
Expect(backend).To(Equal(expected))
})

It("should have a provider.tf", func() {
It("should have a provider.tf.json", func() {
expected := "{\n \"provider\": {\n \"aws\": {}\n }\n"
secret := &v1.Secret{}
secret.Namespace = ctrl.ControllerNamespace
Expand Down

0 comments on commit 81ec7e1

Please sign in to comment.