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

authorizeSecurityGroupIngress Description doesn't work #125

Closed
captn3m0 opened this issue Nov 25, 2017 · 3 comments
Closed

authorizeSecurityGroupIngress Description doesn't work #125

captn3m0 opened this issue Nov 25, 2017 · 3 comments

Comments

@captn3m0
Copy link

We're trying to set a description while creating a SecurityGroup Ingress Rule. As per the docs, this should work:

<?php

$data = 
array (
  'DryRun' => false,
  'GroupId' => 'sg-123456',
  'IpPermissions' => 
  array (
    0 => 
    array (
      'FromPort' => '123',
      'IpProtocol' => 'tcp',
      'ToPort' => '123',
      'IpRanges' => 
      array (
        0 => 
        array (
          'CidrIp' => '127.0.0.1/32',
          'Description' => 'hello',
        ),
      ),
    ),
  ),
)

$ec2->authorizeSecurityGroupIngress([
    'DryRun'     => false,
    'GroupId'    => $lease['group_id'],
    'IpPermissions' => $permissions
]); 

We get a successful response, and the rule is created, but the Description is not applied to the rule.

@kstich
Copy link
Contributor

kstich commented Jan 24, 2018

You should be able to find the description in one of the places mentioned in this blog post. Please also make sure your API request parameters match the documentation. If you are still having an issue, I'd recommend reaching out on the EC2 forums.

@kstich kstich closed this as completed Jan 24, 2018
@Grace0320
Copy link

I am still seeing this issue. I am making a SecurityGroupIngress rule in the same way, and while the rule is created and there are no errors, the Description remains blank. Are there any working examples?

@captn3m0
Copy link
Author

captn3m0 commented Jun 7, 2018

This seems to be working for us now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants