-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Refactor the Terraform module to follow spec CC006
- Loading branch information
1 parent
c82433a
commit 6462878
Showing
5 changed files
with
75 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
resource "juju_application" "sdcore-nrf-k8s" { | ||
resource "juju_application" "nrf" { | ||
name = var.app_name | ||
model = var.model_name | ||
model = var.model | ||
|
||
charm { | ||
name = "sdcore-nrf-k8s" | ||
channel = var.channel | ||
name = "sdcore-nrf-k8s" | ||
channel = var.channel | ||
revision = var.revision | ||
} | ||
units = 1 | ||
trust = true | ||
|
||
config = var.config | ||
constraints = var.constraints | ||
units = var.units | ||
resources = var.resources | ||
trust = true | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.