Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference in output for steampipe variable list json output between 0.18 and 0.19 #3265

Closed
pskrbasu opened this issue Mar 24, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pskrbasu
Copy link
Contributor

seeing a difference in output for steampipe variable list --output=json between v0.18.x and v0.19.x

mike @ ~/Code/github.com/turbot/steampipe-mod-aws-tags (main) > steampipe variable list --output json
[
  {
    "name": "common_dimensions",
    "type": "list(string)",
    "description": "A list of common dimensions to add to each control.",
    "value_default": "[account_id region]",
    "value": "[account_id region]",
    "mod_name": "aws_tags"
  },
  {
    "name": "mandatory_tags",
    "type": "list(string)",
    "description": "A list of mandatory tags to check for.",
    "value_default": "[Environment Owner]",
    "value": "[Environment Owner]",
    "mod_name": "aws_tags"
  },
  {
    "name": "prohibited_tags",
    "type": "list(string)",
    "description": "A list of prohibited tags to check for.",
    "value_default": "[Password Key]",
    "value": "[Password Key]",
    "mod_name": "aws_tags"
  },
  {
    "name": "tag_dimensions",
    "type": "list(string)",
    "description": "A list of tags to add as dimensions to each control.",
    "value_default": "[]",
    "value": "[]",
    "mod_name": "aws_tags"
  },
  {
    "name": "tag_limit",
    "type": "number",
    "description": "Number of tags allowed on a resource. AWS allows up to 50 tags per resource.",
    "value_default": "45",
    "value": "45",
    "mod_name": "aws_tags"
  }
]
v0.19.x 

mike @ ~/Code/github.com/turbot/steampipe-mod-aws-tags (main) > steampipe variable list --output json
[
{
"name": "common_dimensions",
"type": "list(string)",
"value_default": [
"account_id",
"region"
],
"value": [
"account_id",
"region"
],
"mod_name": "aws_tags"
},
{
"name": "mandatory_tags",
"type": "list(string)",
"value_default": [
"Environment",
"Owner"
],
"value": [
"Environment",
"Owner"
],
"mod_name": "aws_tags"
},
{
"name": "prohibited_tags",
"type": "list(string)",
"value_default": [
"Password",
"Key"
],
"value": [
"Password",
"Key"
],
"mod_name": "aws_tags"
},
{
"name": "tag_dimensions",
"type": "list(string)",
"value_default": null,
"value": null,
"mod_name": "aws_tags"
},
{
"name": "tag_limit",
"type": "number",
"value_default": 45,
"value": 45,
"mod_name": "aws_tags"
}
]
v0.18.x


@pskrbasu pskrbasu added the bug Something isn't working label Mar 24, 2023
@pskrbasu pskrbasu self-assigned this Mar 24, 2023
binaek pushed a commit that referenced this issue Mar 28, 2023
…ng values for value_default and value fields. Closes #3265
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant