Comments (2)
With the current Terraform datatypes this would be possible but requires some work on the lib as well as this provider.
Will look to impliment this shortly.
from terraform-provider-icinga2.
For Services something like this in Terraform:
resource "icinga2_service" "my-service" {
name = "dfdsafdsafds"
hostname = "${icinga2_host.host.hostname}"
check_command = "nrpe"
vars {
nrpe_port = "6666"
nrpe_timeout = 35
dummy_state = 1
dummy_text = "UNKNOWN SERVICE STATUS"
nrpe_command = "check_disk_auto"
nrpe_arguments = [ "90%", "95%", "/" ]
}
}
from terraform-provider-icinga2.
Related Issues (19)
- icinga2 Provider, Host resource bug HOT 7
- Support for service vars? HOT 1
- Terraform icinga2 problem HOT 1
- Problem with icinga2 host provisionning HOT 1
- Not able to apply services? HOT 2
- Is there a way to inherit from generic-service or some other template? HOT 5
- [PROPOSAL] Switch to Go Modules HOT 1
- Incompatible with terraform 0.12 HOT 2
- no available version HOT 7
- ForceNew missing afer value is changed on object HOT 2
- Release 0.1.1 HOT 1
- Offer of maintaner help HOT 4
- object updates
- Error: Failed to Read Notification
- Hosts created with terraform don't inherit custom variables from its template HOT 1
- Missing package for darwin_arm64
- Support zone definition for resource_icinga2_host
- icinga2_host vars doesnt support tuples HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-icinga2.