Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added volume mount for app addons
  • Loading branch information
akohring committed Oct 10, 2024
commit b7cfd79200c9c06d66c8c29309ffbe41a244afac
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
ports:
- 8000:8000
- 8089:8089
volumes:
- ${{ github.workspace }}/terraform/apps:/apps

steps:
- name: Set up Go 1.x
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Ignore dist file
.idea
.terraform
.terraform.lock.hcl
dist
terraform-provider-splunk
terraform.tfstate
Expand Down
2 changes: 1 addition & 1 deletion terraform/main.tf
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an example of using the new resource? Can you include it in the examples directory if so.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not an example. This terraform folder is volume mounted into the ACC test container and terraform is applied on the container to install the Splunk lookup app, which is required for the TestAccSplunkLookupTableFile test to pass.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rrossetti-splunk Do you need anything else from me to get this PR merged?

Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ provider "splunk" {
resource "splunk_apps_local" "lookup_file_editing" {
filename = true
name = "/apps/splunk-app-for-lookup-file-editing_404.tgz"
explicit_appname = "Splunk App for Lookup File Editing"
explicit_appname = "splunk-app-for-lookup-file-editing"
}