alvin-huang/circleci-env-var 0
test circleci env vars
issue commenthashicorp/terraform
Add terraform version to user-agent in http remote state
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 38 minutes
issue commenthashicorp/terraform
allow running provisioners before and after a change is applied
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 38 minutes
issue commenthashicorp/terraform
Cross resource lifecycle tunning
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 38 minutes
issue commenthashicorp/terraform
Feature request: provisioner/local-exec allow passing query
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 38 minutes
issue commenthashicorp/terraform
Simple Provisioner Disabling Mechanism
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 38 minutes
issue commenthashicorp/terraform
about depends_on from aws_rds_cluster to aws_rds_cluster_parameter_group.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 38 minutes
issue commenthashicorp/terraform
template_cloudinit_config multiple part execution order is wrong
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 38 minutes
issue commenthashicorp/terraform
Better error message when authentication with Service Account Credentials fails
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 38 minutes
issue commenthashicorp/terraform
Terraform will destroy all your managed infrastructure
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 38 minutes
issue commenthashicorp/terraform
Provisioner remote-exec copying of scripts improvements
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 38 minutes
issue commenthashicorp/terraform
Mask the content of the files included with the substitution `file()` in the terraform output
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 38 minutes
issue commenthashicorp/terraform
Terraform replace function does not work inside the template file.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 39 minutes
pull request commenthashicorp/terraform
website: The index must be non-negative integer
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 39 minutes
pull request commenthashicorp/terraform
website: clarify version constraint syntax
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 39 minutes
issue commenthashicorp/terraform
version constraints ~> operator behavior inconsistent to documentation
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 39 minutes
pull request commenthashicorp/terraform
Added info re additional step re private key to the Example Config intro docs
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
comment created time in 39 minutes
Pull request review commenthashicorp/nomad
+---+layout: docs+page_title: conversion - Functions - Configuration Language+sidebar_title: Type Conversion Functions+description: Overview of available conversion functions
Apparently, I could have just added the name fields to the sidebar nav: done in https://github.com/hashicorp/nomad/pull/9322/commits/f8b4cfc2410395fc7058302c4c958c319d55b513
comment created time in an hour
Pull request review commenthashicorp/nomad
+---+layout: docs+page_title: cidrsubnets - Functions - Configuration Language
Oops - I missed this comment when I merged :(
comment created time in an hour
Pull request review commenthashicorp/nomad
+---+layout: docs+page_title: Local Values - HCL Configuration Language+sidebar_title: Locals+description: >-+ Local values assign a name to an expression that can then be used multiple+ times within a folder.+---++# Local Values++`@include 'beta-nomad1.0-note.mdx'`++Local values assign a name to an expression, that can then be used multiple+times within a folder.++If [variables](/docs/job-specification/hcl2/variables) are analogous to function arguments then+_local values_ are comparable to a function's local variables.++Input variable and local variable usage are introduced in the [_Variables+Guide_](/guides/hcl/variables).
removed - I also ran a lintchecker and caught few other stray links. Thanks!
comment created time in an hour
Pull request review commenthashicorp/nomad
+---+layout: docs+page_title: Input Variables - HCL Configuration Language+sidebar_title: Variables+description: |-+ Input variables are parameters for Nomad jobs.+ This page covers configuration syntax for variables.+---++# Input Variables++`@include 'beta-nomad1.0-note.mdx'`++Input variables serve as parameters for a Nomad job, allowing aspects of the+job to be customized without altering the job's own source code.++When you declare variables in the job configuration, you can set+their values using CLI options and environment variables.++<!---+Input variable and local variable usage are introduced in the [_Variables+Guide_](/guides/hcl/variables).+-->++-> **Note:** For brevity, input variables are often referred to as just+"variables" or "Nomad variables" when it is clear from context what sort of+variable is being discussed. Other kinds of variables in Nomad include+_environment variables_ (set by the shell where Nomad runs) and _expression+variables_ (used to indirectly represent a value in an+[expression](/docs/job-specification/hcl2/expressions)).++## Declaring an Input Variable++Each input variable accepted by a job must be declared using a `variable`+block :++```hcl+variable "image_id" {+ type = string+}++variable "availability_zone_names" {+ type = list(string)+ default = ["us-west-1a"]+}++variable "docker_ports" {+ type = list(object({+ internal = number+ external = number+ protocol = string+ }))+ default = [+ {+ internal = 8300+ external = 8300+ protocol = "tcp"+ }+ ]+}+```++Or a less precise variables block:++```hcl+variables {+ foo = "value"+ my_secret = "foo"+}+```++The label after the `variable` keyword or a label of a `variables` block is a+name for the variable, which must be unique among all variables in the same+job. This name is used to assign a value to the variable from outside and to+reference the variable's value from within the job.++The `variable` block can optionally include a `type` argument to specify what+value types are accepted for the variable, as described in the following+section.++The `variable` declaration can also include a `default` argument. If present,+the variable is considered to be _optional_ and the default value will be used+if no value is set when calling the job or running Nomad. The `default`+argument requires a literal value and cannot reference other objects in the+configuration.++## Using Input Variable Values++Within the job that declared a variable, its value can be accessed from+within [expressions](/docs/job-specification/hcl2/expressions) as `var.<NAME>`, where `<NAME>`+matches the label given in the declaration block:++```hcl+config {+ image = var.task_image+ label = var.task_labels+}+```++The value assigned to a variable can be accessed only from expressions within+the folder where it was declared.++## Type Constraints++The `type` argument in a `variable` block allows you to restrict the [type of+value](/docs/job-specification/hcl2/expressions#types-and-values) that will be accepted as the value+for a variable. If no type constraint is set then a value of any type is+accepted.++While type constraints are optional, we recommend specifying them; they serve+as easy reminders for users of the job, and allow Nomad to return a helpful+error message if the wrong type is used.++Type constraints are created from a mixture of type keywords and type+constructors. The supported type keywords are:++- `string`+- `number`+- `bool`++The type constructors allow you to specify complex types such as collections:++- `list(<TYPE>)`+- `set(<TYPE>)`+- `map(<TYPE>)`+- `object({<ATTR NAME> = <TYPE>, ... })`+- `tuple([<TYPE>, ...])`++The keyword `any` may be used to indicate that any type is acceptable. For more+information on the meaning and behavior of these different types, as well as+detailed information about automatic conversion of complex types, see [Type+Constraints](https://www.terraform.io/docs/configuration/types.html).
Yeah, it didn't quite fit in here in our hierarchy and the page didn't have any Terraform info, so I left it as-is. However, I'll bring it in in my next iteration to avoid having the reader leave the Nomad site.
comment created time in an hour
Pull request review commenthashicorp/nomad
+---+layout: docs+page_title: Functions - Configuration Language+sidebar_title: Functions+description: |-+ The HCL language has a number of built-in functions that can be called+ from within expressions to transform and combine values.+---++# Built-in Functions++`@include 'beta-nomad1.0-note.mdx'`++The HCL language includes a number of built-in functions that you can+call from within expressions to transform and combine values. The general+syntax for function calls is a function name followed by comma-separated+arguments in parentheses:++```hcl+max(5, 12, 9)+```++For more details on syntax, see+[_Function Calls_](/docs/job-specification/hcl2/expressions#function-calls)
Removed the anchor - thanks
comment created time in an hour
push eventhashicorp/nomad
commit sha 15cbc40a703746a615a06ed0b4b8a3c92e311509
Docs for HCL2 (#9322) Add more detailed HCL2 docs, mostly lifted from Packer with tweaks for Nomad. The function docs are basically verbatim taken from Packer with basic string substitutions. I commented out some for_each details as the examples are mostly driven towards Packer resources. I'll iterate on those with better Nomad examples.
push time in an hour
PR merged hashicorp/nomad
Add more detailed HCL2 docs, mostly lifted from Packer with tweaks for Nomad.
The function docs are basically verbatim taken from Packer with basic string substitutions. I commented out some for_each details as the examples are mostly driven towards Packer resources. I'll iterate on those with better Nomad examples.
I will follow up with learn guides and link the two after this.
The docs are viewable at https://nomad-7s3t20jvx.vercel.app/docs/job-specification/hcl2
pr closed time in an hour
push eventhashicorp/nomad
commit sha 694560b2d67a2b0925a3c1df7065f8d175ffdd89
fix some links
push time in an hour
issue commenthashicorp/terraform
terraform cloud doesn't upload local modules
@marko7460 and @dsansot-ru I am stuck badly and I am not able to find any refrences to working-directory and trigger-prefixes in any documentation.
Appreciate it if you could confirm what exact directory in your above example did you enter in your Workspace Settings? Did you enter ./application/ as the working directory?
comment created time in an hour
push eventhashicorp/nomad
commit sha 9cf1b5d384ccec8182d0c1826e3c5cb891040f8c
fix links and remove irrelavent comments
commit sha f8b4cfc2410395fc7058302c4c958c319d55b513
Remove empty overview pages
push time in 2 hours
startednat/keyrace
started time in 3 hours
issue closedhashicorp/terraform
Example of how a custom provider can use and set provisioners
Hi,
we are writing a custom provider. What should my provider implement to support Shell provisioner? Also I see that provisioners can refer to self accessing the parent resource properties. Is there any way to setup default values to the provisioner like i.e. public_ip?
closed time in 6 hours
DavidGOrtega